Heal status
Moderators: Murderator+, Murderator
Heal status
sub hp()
var i,n
i = uo.gethp()
n = uo.getmaxhp()
while i<n
uo.say(str(i)+'/'+str(n))
end sub
I don't know how check this "while" everytime when somebody hit me...
var i,n
i = uo.gethp()
n = uo.getmaxhp()
while i<n
uo.say(str(i)+'/'+str(n))
end sub
I don't know how check this "while" everytime when somebody hit me...
Theres a kind of semantic error on ur script...
try to put the
inside the while statement, cause if i var arent updated... it always will be the start value of the i...
try to put the
Code: Select all
i=uo.gethp()
inside the while statement, cause if i var arent updated... it always will be the start value of the i...
Code: Select all
sub hp()
var i,n
n = uo.getmaxhp()
while i<n
i = uo.gethp()
uo.say(str(i)+'/'+str(n))
wait(3000)
wend
end sub
Search in journal.
Code: Select all
sub hp()
if uo.injournal("hits you") then ;Here go the text that appears in your client , ex. "Zeus hits you"
uo.deletejournal()
var i,n
n = uo.getmaxhp()
while i<n
i = uo.gethp()
uo.say(str(i)+'/'+str(n))
wend
endif
end sub