Yoko
http://forum.yoko.com.ua/

where is error
http://forum.yoko.com.ua/viewtopic.php?f=3&t=12815
Page 1 of 1

Author:  khitans [ 2007-11-25 22:34:03 ]
Post subject:  where is error

where is error
Code:
sub healpassive()
while NOT UO.Dead()
repeat
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

Author:  Scripts Writer [ 2007-11-26 05:00:21 ]
Post subject: 

Can u see now, where is error?
Code:
sub healpassive() 
while NOT UO.Dead()
      repeat
            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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/