Cycle in one place and kill strange to pick something up, pick up things script omitted;
At present, so write inj always collapse, don't know why;
We help have a look how to optimize your script;
Logical judgment fault automatically appear and kill - stealth - pick loops
Code:
sub AutoKill()
start:
uo.set('finddistance','8')
repeat
uo.findtype('0x003B','-1','ground')
if uo.findcount()>0 then
uo.attack('finditem')
wait(2000)
endif
until UO.FindCount('finditem') < 1
tohide()
wait(1000)
auto_loot()
wait(60000)
goto start
endsub