Code: Select all
sub checakeg()
if uo.injournal("O barril esta vazio") then
uo.exec("setcatchbag bau")
uo.exec("usetype keg")
uo.exec("grab 1 lastobject")
uo.exec("unsetcatchbag")
uo.deletejournal()
endif
endsub
this code was about to check if the keg is empty and then throw it in the container "bau"
but i get both messages "You cannot move that" "You cannot unequip that"
if i just drag the potion keg with the mouse it falls in "bau" but it doesn´t via grab command. Why is that? any solutions?