Code: Select all
Sub Scan()
uo.print('start')
uo.set('finddistance', '15')
uo.ignore('self')
uo.findtype('0x0190', '-1', 'ground')
while uo.findcount() and not uo.dead()
uo.cast('Magic Arrow', 'finditem')
wait(1500)
uo.ignore('finditem')
uo.findtype('0x0190', '-1', 'ground')
wend
uo.findtype('0x0191', '-1', 'ground')
while uo.findcount() and not uo.dead()
uo.cast('Magic Arrow', 'finditem')
wait(1500)
uo.ignore('finditem')
uo.findtype('0x0191', '-1', 'ground')
wend
uo.ignorereset()
uo.print('stop')
endsub