Code: Select all
sub Loot()
uo.Set('finddistance','3')
uo.Ignore('self')
uo.FindType('-1','-1','ground')
while uo.FindCount() > 0
uo.findtype('-1','-1','ground')
uo.moveitem('finditem','all','backpack')
wait(750)
wend
uo.IgnoreReset()
endsub
Moderators: Murderator+, Murderator
Code: Select all
sub Loot()
uo.Set('finddistance','3')
uo.Ignore('self')
uo.FindType('-1','-1','ground')
while uo.FindCount() > 0
uo.findtype('-1','-1','ground')
uo.moveitem('finditem','all','backpack')
wait(750)
wend
uo.IgnoreReset()
endsub
Code: Select all
sub Loot()
uo.Set('finddistance','3')
uo.Ignore('self')
uo.FindType('-1','-1','ground') ; что ищем
while uo.FindCount() > 0 AND not uo.dead() ; условие смерти чара
uo.findtype('-1','-1','ground') ; что ищем
uo.moveitem('finditem','all','backpack')
wait(750)
wend
uo.IgnoreReset()
endsub