hmmm how do i make this script loop forever, atm it stops if i have more than 500 bandages, i currently have it like this:
Code:
sub getBandagesFromBank()
repeat
if uo.count('bandage') > 500 then
uo.print( "I already have more than 500 bandages." )
return false
endif
uo.findtype('bandage', "-1", uo.objAtLayer( "Bank" ) )
if not uo.findcount() then
uo.print( "Bandages was not found in bankbox." )
return false
endif
uo.moveitem( "finditem", "500" )
uo.print( "Bandages has been moved." )
wait(300000)
until UO.life<2
end sub
i just want it to loop forever, and check if i have enough bandages every 5mins. i thought if i add repeat..until it will loop forever, but it doesnt :S