Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
heal friend
#1
i need a script to heal my friend but only when my life is safe i found one searching the forum but it seems to be bugged now !


local FRIENDS = { 'knight one', 'friend to heal', 'another friend' } -- Players to sio.
local FRIENDS_HEALTH = 50 -- If hp% is lower than this then cast sio on friend.
local SAFE_HEALTH = 80 -- It will only cast sio if YOUR HP% is higher or equal than this. If you wanna ignore your hp, just setup as 0.

if connected() and cancast() and hppc() >= SAFE_HEALTH then
    table.lower(FRIENDS)
    local creatures = getcreatures('pfs')
    for _, creature in ipairs(creatures) do
        if creature.hppc <= FRIENDS_HEALTH and table.find(FRIENDS, creature.name:lower()) ~= nil then
            cast('exura sio "' .. creature.name)
            wait(200, 400)
            break
        end
    end
end

reporting this error  01:22:26 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString:SIO EK: 8: '<name>' expected near ','

#2
Hello.

The script above works just fine. You are doing some bad change on the script.



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016