Code: Select all
sub GetBomb()
var Bomba = '0x0F0D'
uo.set('finddistance','3')
while not uo.Dead()
if uo.CountGround( Bomba ) then
uo.findtype( Bomba,'ground')
uo.grab('0','finditem')
else
wait(100)
end if
wait(100)
wend
end sub