var backpack
uo.findtype("-1")
if uo.findcount() then
backpack = uo.containerof("finditem")
else
return 0
endif
# this is the way to obtain backpack's serial, if you need...
#to empty backpack:
uo.ignorereset()
while uo.count("-1")
uo.findtype("-1")
uo.moveitem("finditem","-1","destination (ground or container serial)")
wait(400) #fastloot protection
uo.ignore("finditem")
wend
uo.ignorereset()
#i don't like emptycontainer, because it hold client until all packets about item movement is sent
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...