Log in

View Full Version : Exura sio script



shuker
01-29-2016, 07:03 PM
Hello Tibians

Could anyone will please help me with exura sio script??

Thank you

Jontor
01-29-2016, 07:55 PM
Next time use the search function, please (http://forums.xenobot.net/showthread.php?40786-sio-friend&p=470305&viewfull=1#post470305)

jollebollen
01-30-2016, 06:34 AM
Next time use the search function, please (http://forums.xenobot.net/showthread.php?40786-sio-friend&p=470305&viewfull=1#post470305)

cant get this one to work ;o

edit: capital letters matter ;)

jollebollen
02-19-2016, 09:28 PM
Next time use the search function, please (http://forums.xenobot.net/showthread.php?40786-sio-friend&p=470305&viewfull=1#post470305)

this script crashes tibia when there is many people on screen!

Jontor
02-19-2016, 10:23 PM
this script crashes tibia when there is many people on screen!

Add a wait(200) at the beggining/end of the loop, should help

jollebollen
02-20-2016, 02:20 AM
Add a wait(200) at the beggining/end of the loop, should help

exactly how? Im very bad at this :D thanks in advance

Jontor
02-20-2016, 07:47 AM
exactly how? Im very bad at this :D thanks in advance

Should look like this


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
wait(200)
end

jollebollen
02-21-2016, 08:19 PM
Should look like this


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
wait(200)
end


thx alot!!