Results 1 to 2 of 2

Thread: Script work on ibot and cant work on ibotplus any one can give-me a light ... XD

  1. #1
    iBot User Bulet's Avatar
    Join Date
    May 2012
    Location
    São Paulo - Brazil
    Posts
    327
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    19 Post(s)
    Reputation
    40
    Rep Power
    5

    Script work on ibot and cant work on ibotplus any one can give-me a light ... XD

    action/Setup
    -- List para (Exura Gran mas Res)

    MasResPlayers = {"Nobliterate", "Sheracola", "Podexa"}

    -- VIP List para Auto Sio --

    name1 = "Nobliterate"
    hppc1 = 78
    name2 = ""
    hppc2 = 40
    name3 = ""
    hppc3 = 40
    name4 = ""
    hppc4 = 85
    name5 = ""
    hppc5 = 80
    name6 = ""
    hppc6 = 70
    name7 = ""
    hppc7 = 70
    name8 = ""
    hppc8 = 70
    name9 = ""
    hppc9 = 70
    name10 = ""
    hppc10 = 70
    name11 = ""
    hppc11 = 70
    name12 = ""
    hppc12 = 70
    name13 = ""
    hppc13 = 70
    name14 = ""
    hppc14 = 70
    name15 = ""
    hppc15 = 70
    name16 = ""
    hppc16 = 70
    Action/list/autosio
    local CONFIG = {
    PLAYERS = {
    {NAME = name1, HPPC = hppc1},
    {NAME = name2, HPPC = hppc2},
    {NAME = name3, HPPC = hppc3},
    {NAME = name4, HPPC = hppc4},
    {NAME = name5, HPPC = hppc5},
    {NAME = name6, HPPC = hppc6},
    {NAME = name7, HPPC = hppc7},
    {NAME = name8, HPPC = hppc8},
    {NAME = name9, HPPC = hppc9},
    {NAME = name10, HPPC = hppc10},
    {NAME = name11, HPPC = hppc11},
    {NAME = name12, HPPC = hppc12},
    {NAME = name13, HPPC = hppc13},
    {NAME = name14, HPPC = hppc14},
    {NAME = name15, HPPC = hppc15},
    {NAME = name16, HPPC = hppc16},
    },
    }
    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 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

    action/list/masres
    local list = MasResPlayers
    local healHPPC = 50
    local players = getcreatures("ps")
    for i=0, players.count-1 do
    if table.find(list, players[i].name) then
    local dist = math.max(math.abs(players[i].x - posx), math.abs(players[i].y - posy))
    if players[i].hpperc <= healHPPC and dist <= 3 and tileshootable(players[i].x, players[i].y, posz) then
    cast('exura gran mas res')
    wait(200)
    end
    end
    end
    For centuries we have watched and waited for the darkspawn to return. In peace... vigilance. In war... victory. In death... sacrifice. This is what it means to be a Grey Warden.

  2. #2
    iBot User Bulet's Avatar
    Join Date
    May 2012
    Location
    São Paulo - Brazil
    Posts
    327
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    19 Post(s)
    Reputation
    40
    Rep Power
    5
    @BlackW .. @Eli or anyone has more knowledge in ibot+ help me plx i improve this oldest version of warbot to ibot but some function isnt work like old ibot. Im glad if anyone can help me to finish to i fix, improve and let me on this script to community ...

    Tks
    Last edited by Bulet; 12-17-2014 at 05:02 PM.
    For centuries we have watched and waited for the darkspawn to return. In peace... vigilance. In war... victory. In death... sacrifice. This is what it means to be a Grey Warden.

Posting Permissions

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