huntmaster
02-23-2016, 07:15 PM
i converted to .lua script but it seems that something is wrong. im using this script i found
local namesList = {"x", "x"}
local sioPercent = 60
while true do
for n, c in Creature.iPlayers() do
if (table.find(namesList, n, false) and c:HealthPercent() < sioPercent) then
if (getSelfSpellCooldown("exura sio") == 0 and Self.Mana() >= 140) then
Self.Say("exura sio "" ..n)
end
end
end
wait(200)
end
local namesList = {"x", "x"}
local sioPercent = 60
while true do
for n, c in Creature.iPlayers() do
if (table.find(namesList, n, false) and c:HealthPercent() < sioPercent) then
if (getSelfSpellCooldown("exura sio") == 0 and Self.Mana() >= 140) then
Self.Say("exura sio "" ..n)
end
end
end
wait(200)
end