
Moving items into the backpacks
Moderators: Murderator+, Murderator
Moving items into the backpacks
Im interested in macros like that. For example: i got 10 backpacks and 100 items (scrolls, ingots, logs, feathers etc...) to move into this backpacks and first select with cursor and command uo.exec('addobject something'). Backpacks are always same type, scrolls not. I want 10 items in every backpack, but how to do that using the best way? 

Last edited by Biba on 2004-07-10 15:40:48, edited 2 times in total.
this is a scetch, edited in forum
you may complete it or get idea from here and make all yourself
you may complete it or get idea from here and make all yourself
Code: Select all
sub yokotest()
uo.ignorereset()
while uo.count("packtype")
...
uo.addtype("SelectItemToStore")
...
while uo.count("SelectItemToStore")
uo.findtype("SelectItemToStore")
uo.moveitem("finditem","-1","_packtype")
wait(untilitemmoved)
uo.ignore("finditem")
wend
uo.ignore("_packtype")
uo.print("You have "+str(uo.count("packtype"))+" bags left")
wend
uo.ignorereset()
end sub
Yoko wrote:this is a scetch, edited in forum
you may complete it or get idea from here and make all yourselfCode: Select all
sub yokotest()
uo.ignorereset()
while uo.count("packtype")
...
uo.addtype("SelectItemToStore")
...
while uo.count("SelectItemToStore")
uo.findtype("SelectItemToStore")
uo.moveitem("finditem","-1","_packtype")
wait(untilitemmoved)
uo.ignore("finditem")
wend
uo.ignore("_packtype")
uo.print("You have "+str(uo.count("packtype"))+" bags left")
wend
uo.ignorereset()
end sub
I really dont know if i can make this working, but i will try. Maybe ur presence on icq today will help
