Log in

View Full Version : sio friend



Infell
01-25-2016, 04:53 PM
how to make the xeno heal friend?

Jontor
01-25-2016, 05:24 PM
Put in Xenobot's script folder and execute in-game



local namesList = {"name1", "name2"}
local sioPercent = 80

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
end

jollebollen
01-30-2016, 06:33 AM
Put in Xenobot's script folder and execute in-game



local namesList = {"name1", "name2"}
local sioPercent = 80

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
end


this one doesn't work bro!
edit: capital letters matter ;)