Примерно так:
Code:
sub MoveReg(id)
uo.print('Move Reagents')
var a
dim reg[3]
reg[0] = "0x0F7A" ;Black Pearls
reg[1] = "0x0F7B" ;Blood Moss
reg[2] = "0x0F86" ;Mandrake Roots
for a=0 to 2
if uo.count(reg[a])<1 then
uo.findtype(reg[a],-1,id)
uo.moveitem('finditem',2,'backpack')
wait(700)
CheckLag()
endif
next
endsub
Должен брать по 2 шт каждого вида реагента, так как взять 1 шт из сверх тяжелой кучи по невыясненным причинам не получается.
И еще в твоем скрипте есть:
Code:
uo.cast('Recall',rune)
DelTextInJournal("fizzle")
while mana == uo.mana
wait(200)
wendзамени на:
Code:
uo.cast('Recall',rune)
DelTextInJournal("fizzle")
while mana <= uo.mana
wait(200)
wend
так как, пока ждешь чтобы прошел каст, мана может и подрости.