Results 1 to 3 of 3

Thread: Hotkey to set special areas

  1. #1

    Join Date
    Jun 2012
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5

    Hotkey to set special areas

    Hello!
    I need help with a hotkey. Can't get it to work. The setsettings thingie works in an action waypoint but not in my hotkey. I want it to set the special area to target when i attack a specific monster otherwise not.

    This is what I did so far:

    if target.name == "Dragon" then
    setsettings('Settings\\CaveBot\\Pathfinding\\Speci alAreas\\Room1\\ConsideredBy', 'Target')
    else
    setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\Room 1\\ConsideredBy", "None")
    end

    Yours

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
    if target.name == ("Dragon")
    then
        setsettings
    ("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\Room1\\ConsideredBy""Target")
    else
        
    setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\Room1\\ConsideredBy""None")
    end 


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3

    Join Date
    Jun 2012
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5
    It worked!
    Thanks alot dude

Posting Permissions

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