Page 1 of 1

where is error

Posted: 2008-01-30 17:28:36
by khitans
where is error in script plis

sub hpp()
if UO.Poisoned()==1 then
wait(700)
uo.exec("cast 'Cure' self")
end if
if uo.poisoned()==0 then
if UO.Life < UO.str then
UO.bandageself()
wait(4000)
endif
until UO.Life == UO.str
wend
end sub

Posted: 2008-01-30 17:38:06
by Nmy

Code: Select all

sub hpp()
if UO.Poisoned()==1 then
wait(700)
uo.cast('Cure','self')
end if
if uo.poisoned()==0 then
if UO.Life < UO.str then
repeat
UO.bandageself()
wait(4000)
until UO.Life == UO.str
endif
endif
end sub