that is a dead cycle or what ever they call it, (burn out your cpu) try reading more info in the tutorials, I use googles translator to understand the Russian... least you will pick up on the theory... looks like you had the right idea just use and "ELSE"
Code:
sub heal()
repeat
if uo.life<290 then
uo.bandageself()
wait(3000)
else
wait(1000)
end if
until uo.dead()
end sub
I like this way cause you can add things to it for ex
Code:
sub heal()
repeat
if uo.poisoned() then
drink_cure()
else
if uo.life<290 then
uo.bandageself()
wait(3000)
else
wait(1000)
end if
end if
until uo.dead()
end sub