sub Loot()
VAR i,Exit
DIM Loot[6]
Loot[0]=0x0EED
Loot[1]=0x1bfb
UO.SetReceivingContainer('backpack')
For i=0 to 53
Exit=0
repeat
UO.FindType(Loot[i],-1,'ground')
if UO.GetQuantity('finditem') then
UO.Grab('0','finditem')
wait(500)
Else
Exit=1
endif
UO.FindType(Loot[i],-1,'lastcontainer')
if UO.GetQuantity('finditem') then
UO.Grab('0','finditem')
wait(500)
Else
Exit=1
endif
until Exit==1 OR uo.injournal("loot")
Next
UO.UnSetReceivingContainer()
end sub
Вот скрипт подскажите что не правильно плиз! =)
Автолут выдает ошибку Line: 10 Runtime error
Moderators: Murderator+, Murderator
-
- Posts: 247
- Joined: 2008-09-12 05:07:34
Re: Автолут выдает ошибку Line: 10 Runtime error
Все работает на ура, спасибо =)