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

Script Healing For PVP (Auto-Healing)
http://forum.yoko.com.ua/viewtopic.php?f=20&t=879
Page 1 of 1

Author:  DeathMan [ 2004-07-15 18:09:52 ]
Post subject:  Script Healing For PVP (Auto-Healing)

What is Problem?
-----------------------------------------------------------------------------
Sub control()
HealX:
if (UO.life<=90) then
UO.Print("***Using Bandageself***")
UO.usetype("bandageself") ; Healing-Bandage
wait(5500)
end if
if (UO.life<=40) then
UO.Print("***Using Life Potion***")
UO.exec("usetype 0x0F82 0x0532") ; ID and Graphic Os life Potion
endif
goto HealX
end sub
-----------------------------------------------------------------------------

Author:  Kazoo [ 2004-07-16 17:51:01 ]
Post subject:  Re: Script Healing For PVP (Auto-Healing)

DeathMan wrote:
What is Problem?
-----------------------------------------------------------------------------
Sub control()
HealX:
if (UO.life<=90) then
UO.Print("***Using Bandageself***")
Code:
UO.usetype("bandageself") ; Healing-Bandage  <----- 

wait(5500)
end if
if (UO.life<=40) then
UO.Print("***Using Life Potion***")
UO.exec("usetype 0x0F82 0x0532") ; ID and Graphic Os life Potion
endif
goto HealX
end sub


-----------------------------------------------------------------------------

UO.exec ("bandageself") ; Healing-Bandage <-----

Author:  DeathMan [ 2004-07-16 19:22:22 ]
Post subject:  Script

Sorry,
This Script Was Error inLine 15, Function Not FOund... i undestand thsi error...

Look all and try find error:

Sub control()
healx:
if (UO.life<=90) then
UO.Print("***Using Bandage***")
UO.exec ("bandageself")
wait(5500)
end if
if (UO.life<=40) then
UO.Print("***Using Heal Potion***")
UO.exec("usetype 0x0F82 0x0532")
endif
goto Healx
end sub

this is a script... i need search error,

Author:  Kazoo [ 2004-07-16 20:05:00 ]
Post subject:  Re: Script

DeathMan wrote:
Sorry,
This Script Was Error inLine 15, Function Not FOund... i undestand thsi error...

Look all and try find error:

Sub control()
Code:
healx:

if (UO.life<=90) then
UO.Print("***Using Bandage***")
UO.exec ("bandageself")
wait(5500)
end if
if (UO.life<=40) then
UO.Print("***Using Heal Potion***")
UO.exec("usetype 0x0F82 0x0532")
endif
Code:
goto Healx < ---   goto healx with small "h" becouse up there is with small "h" 

end sub

this is a script... i need search error,

Author:  DeathMan [ 2004-07-16 20:22:42 ]
Post subject:  Script

=/
i'm try using this script, and find error retry in Line 15... i undestand this error..

Code:
Sub control() 
healx:
if (UO.life<=90) then
UO.Print("***Using Bandage***")
UO.exec ("bandageself")
wait(5500)
end if
if (UO.life<=40) then
UO.Print("***Using Heal Potion***")
UO.exec("usetype 0x0F82 0x0532")
endif
goto healx
end sub



Sub control() < it is true???????

Author:  Kazoo [ 2004-07-16 22:09:17 ]
Post subject:  Re: Script

DeathMan wrote:
=/
i'm try using this script, and find error retry in Line 15... i undestand this error..
Sub control()
healx:
if (UO.life<=90) then
UO.Print("***Using Bandage***")
UO.exec ("bandageself")
wait(5500)
end if
if (UO.life<=40) then
UO.Print("***Using Heal Potion***")
UO.exec("usetype 0x0F82 0x0532")
endif
goto healx
end sub



Sub control() < it is true???????



Try This

Code:
Sub control() 
healx:
if uo.life<90 then
UO.Print("***Using Bandage***")
UO.exec ("bandageself")
wait(5500)
end if
if uo.life<40 then
UO.Print("***Using Heal Potion***")
UO.exec("usetype 0x0F82 0x0532")
endif
goto healx
end sub

Author:  DeathMan [ 2004-07-17 05:02:15 ]
Post subject:  Script

Don't function...

do you have a script to PVP From me?

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