Code: Select all
sub woodself()
while not uo.dead()
var x
x=uo.getserial('self')
uo.findtype("0x09AA","0x0E7D")
if uo.findcount()<1 then
uo.print('you have no boxes')
else
uo.drop("1",str(uo.getx(x)),str(uo.gety(x)),0,"finditem")
uo.print('you drop box')
end if
end sub