Results 1 to 4 of 4

Thread: Multiple sio with ibot

  1. #1
    iBot User
    Join Date
    May 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    5

    Multiple sio with ibot

    Does anyone know a hotkeys or action to make sio to multiples characters??
    im going to wz with 5 eks and need to put sio on them xD

  2. #2
    Normal User mistgun's Avatar
    Join Date
    Nov 2012
    Location
    LDZ
    Posts
    333
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    41
    Rep Power
    5
    Use this action:
    you can add more lines
    Code:
    {NAME = "NAME 2", HPPC = 50},
    NAME - type name there
    HPPC - its health percentage when bot sio player


    Code:
    -- [[ INIT START ]] --
        local CONFIG = {
            PLAYERS = {
                {NAME = "NAME 1", HPPC = 50},
                {NAME = "NAME 2", HPPC = 50},
                {NAME = "NAME 2", HPPC = 50},
                {NAME = "NAME 2", HPPC = 50},
            },
        }
    -- [[ INIT END ]] --
    
    local CREATURE_TO_HEAL, HPPC_TO_HEAL = nil, 101
    
    for CREATURE in Creature.GetAll("ps") do
        local PLAYER_FOUND = table.find(CONFIG.PLAYERS, CREATURE:Name(), "NAME")
        
        if (CREATURE:isValid() and CREATURE:isAlive() and Creature:isReachable() and PLAYER_FOUND and CREATURE:HealthPercent() < CONFIG.PLAYERS[PLAYER_FOUND].HPPC and CREATURE:HealthPercent() < HPPC_TO_HEAL) then
            CREATURE_TO_HEAL, HPPC_TO_HEAL = CREATURE, CREATURE:HealthPercent()
        end
    end
    
    if (Creature.isInstance(CREATURE_TO_HEAL)) then
        Spell.GetByWordsOrName("heal friend"):CastSpell(CREATURE_TO_HEAL, CREATURE_TO_HEAL:Name())
        System.Wait(200)
    end
    Remember to set all spells of: exura sio "name of your partner" in hotkeys in tibia or bot will type spells using keyboard!

    credits to Sirmate.
    Last edited by mistgun; 09-22-2013 at 11:35 AM.
    LATEST FREE AND PAID SCRIPTS

    Ghostland: EK Coryms Cave: EK
    Peninsula Tomb: EK, MS/ED Mount Sternum: EK
    Dwarf City: EK Nightstalkers Mountain: ED, MS

  3. #3
    iBot User
    Join Date
    May 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    5
    okioki gonna try it right now!
    thanks for the help mate

  4. #4
    iBot User
    Join Date
    May 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    5
    Im a nob on this, i couldnt make it to work (

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •