We have some var that stores the last item the went to bag?
like 'lastitem'
im using it to do that
uo.findtype('-1','-1','backpack')
l=uo.findcount('finditem')-1
while l>0
uo.ignore('finditem')
uo.findtype('-1','-1','backpack')
l=l-1
wend
uo.findtype('-1','-1','backpack')
is there any better way?
Last item from bag
Moderators: Murderator+, Murderator
Re: Last item from bag
No, there is no other way to do that. However, it is possible that your primary task can be written some other way, without using 'lastitem'. What is it that you want to implement?
Re: Last item from bag
drop the last item that came to my bakcpack