Yoko
http://forum.yoko.com.ua/

Last item from bag
http://forum.yoko.com.ua/viewtopic.php?f=3&t=15597
Page 1 of 1

Author:  xinxilas [ 2010-02-19 07:59:12 ]
Post subject:  Last item from bag

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?

Author:  Beyonder [ 2010-02-19 09:21:03 ]
Post subject:  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?

Author:  xinxilas [ 2010-02-19 10:01:49 ]
Post subject:  Re: Last item from bag

drop the last item that came to my bakcpack

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/