drowned wrote:
I made a script like this...
uo.findtype('type')
while not uo.findcount()==0
uo.grab('0','finditem')
uo.ignore('finditem')
uo.findtype('type')
endif
uo.ignorereset()
endsub
But when the sub ends the item is not removed from de ignore list, it still being ignored by the client.
Need help plz.
Whel, first of all - you didn't end your
while not uo.findcount()==0 cycle. You should do it with
Wend, but instead you wrote
endif.
Here is the correct form:
Code:
uo.findtype('type')
while not uo.findcount()==0
uo.grab('0','finditem')
uo.ignore('finditem')
uo.findtype('type')
Wend
uo.ignorereset()
endsub
Also, you should probably use some
Wait() after you grab an item.
Whell, it depends on your shard.