Results 1 to 4 of 4

Thread: Exori vis/ HMM action

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Exori vis/ HMM action

    Hello, i need an action that use exori vis/gran vis on water elementals but if someone on screen throwm HMM and stop cave bot.. until the people leave.. is possible?

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    if maround() > 0 and itemcount("Heavy Magic Missle Rune") > 0 then
    setsettings("Settings\\Targeting\\Monsters\\Monster01\\ListSettings\\Setting0\\ListSpell\\Spell0", "Heavy Magic Missle Rune")
    setsettings("Settings\\Targeting\\Monsters\\Monster02\\ListSettings\\Setting0\\ListSpell\\Spell0", "Heavy Magic Missle Rune")
    setsettings("Settings\\Targeting\\Monsters\\Monster03\\ListSettings\\Setting0\\ListSpell\\Spell0", "Heavy Magic Missle Rune")
    else
    setsettings("Settings\\Targeting\\Monsters\\Monster01\\ListSettings\\Setting0\\ListSpell\\Spell0", "Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Monster02\\ListSettings\\Setting0\\ListSpell\\Spell0", "Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Monster03\\ListSettings\\Setting0\\ListSpell\\Spell0", "Energy Strike")
    end


    change the Monster Name and Spell and Settings group if you have more than 1 for each monster.

    Eg this should work just for water elementals if you only have 1 settings and 2 spells...

    PHP Code:
    if paround() > and itemcount("Heavy Magic Missle Rune") > 0 then
    setsettings
    ("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell0""Heavy Magic Missle Rune")
    setsettings("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell1""Heavy Magic Missle Rune")
    else
    setsettings("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell0""Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell1""Strong Energy Strike")
    end 


    To stop cavebot when players are around use this..

    PHP Code:
    if paround() > 0 then
    setcavebot
    ("off")
    else
    setcavebot("on")
    end 
    Last edited by pink_panther; 10-29-2012 at 06:38 AM.

  3. #3
    Normal User
    Join Date
    Jul 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    if maround() > 0 and itemcount("Heavy Magic Missle Rune") > 0 then
    setsettings("Settings\\Targeting\\Monsters\\Monster01\\ListSettings\\Setting0\\ListSpell\\Spell0", "Heavy Magic Missle Rune")
    setsettings("Settings\\Targeting\\Monsters\\Monster02\\ListSettings\\Setting0\\ListSpell\\Spell0", "Heavy Magic Missle Rune")
    setsettings("Settings\\Targeting\\Monsters\\Monster03\\ListSettings\\Setting0\\ListSpell\\Spell0", "Heavy Magic Missle Rune")
    else
    setsettings("Settings\\Targeting\\Monsters\\Monster01\\ListSettings\\Setting0\\ListSpell\\Spell0", "Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Monster02\\ListSettings\\Setting0\\ListSpell\\Spell0", "Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Monster03\\ListSettings\\Setting0\\ListSpell\\Spell0", "Energy Strike")
    end


    change the Monster Name and Spell and Settings group if you have more than 1 for each monster.

    Eg this should work just for water elementals if you only have 1 settings and 2 spells...

    PHP Code:
    if paround() > and itemcount("Heavy Magic Missle Rune") > 0 then
    setsettings
    ("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell0""Heavy Magic Missle Rune")
    setsettings("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell1""Heavy Magic Missle Rune")
    else
    setsettings("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell0""Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Water Elemental\\ListSettings\\Setting0\\ListSpell\\Spell1""Strong Energy Strike")
    end 


    To stop cavebot when players are around use this..

    PHP Code:
    if paround() > 0 then
    setcavebot
    ("off")
    else
    setcavebot("on")
    end 
    The first action, works great, i just got "pk" cuz the name of HMM is wrong o/, but i edit and working perfect.

    second action is crushing bot and quitting it ;/ almost died..

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Ahh i see i missing from hmm.

    2nd one is crashing the bot?

Posting Permissions

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