where is error

Ask for help

Moderators: Murderator+, Murderator

Post Reply
khitans
Posts: 4
Joined: 2007-11-25 22:31:17

where is error

Post 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
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post 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
Post Reply