Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: healer on/off

  1. #1
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5

    healer on/off

    Can I add a waypoint to set a healer on or off? I'd like to activate utura gran (and deactivate utura) on a certain area, after that, activate utura again.
    How can I do that?

    thank you for helping! play nice

  2. #2
    Normal User cat_salgado's Avatar
    Join Date
    Oct 2012
    Location
    Mexico
    Posts
    181
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    31
    Rep Power
    5
    add an action wpt where you want to set on/off with this
    this one to set it "on"

    Code:
    setsettings('Settings/Healer/Rules/utura gran/Enabled','yes')
    and this one to set it "off"

    Code:
    setsettings('Settings/Healer/Rules/utura gran/Enabled','no')
    just remember to add the healing rule and rename it to utura gran

    hope it helps you
    Last edited by cat_salgado; 11-30-2012 at 08:44 PM.

  3. #3
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by cat_salgado View Post
    add an action wpt where you want to set on/off with this
    this one to set it "on"

    Code:
    setsettings('Healer/Rules/utura gran/Enabled','yes')
    and this one to set it "off"

    Code:
    setsettings('Healer/Rules/utura gran/Enabled','no')
    just remember to add the healing rule and rename it to utura gran

    hope it helps you
    ^Wont work.

    Correct is:
    PHP Code:
     
    setsettings("Settings//Healer//Rules//utura gran//Enabled", "yes")


    and to deactivate:
    PHP Code:
     
    setsettings("Settings//Healer//Rules//utura gran//Enabled", "no")


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

    For a better iBot!

    (◣_◢)

  4. #4
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    Quote Originally Posted by blakw View Post
    ^Wont work.

    Correct is:
    PHP Code:
     
    setsettings("Settings//Healer//Rules//utura gran//Enabled", "yes")


    and to deactivate:
    PHP Code:
     
    setsettings("Settings//Healer//Rules//utura gran//Enabled", "no")

    oh yeah elelelelel

  5. #5
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    tried this

    PHP Code:
    setsettings("Settings//Healer//Rules//utura gran//Enabled""yes")
    setsettings("Settings//Healer//Rules//utura//Enabled""no")
    end 
    and this

    PHP Code:
    setsettings("Settings//Healer//Rules//utura gran//Enabled""yes")
    setsettings("Settings//Healer//Rules//utura//Enabled""no"
    but didnt'd work =[

  6. #6
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    shold I try 2 waypoints? one for each set?

  7. #7
    Normal User cat_salgado's Avatar
    Join Date
    Oct 2012
    Location
    Mexico
    Posts
    181
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    31
    Rep Power
    5
    Quote Originally Posted by blakw View Post
    ^Wont work.

    Correct is:
    PHP Code:
     
    setsettings("Settings//Healer//Rules//utura gran//Enabled", "yes")


    and to deactivate:
    PHP Code:
     
    setsettings("Settings//Healer//Rules//utura gran//Enabled", "no")
    haha yeah you're right forgot to write Settings in path now is corrected

  8. #8
    Normal User cat_salgado's Avatar
    Join Date
    Oct 2012
    Location
    Mexico
    Posts
    181
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    31
    Rep Power
    5
    Quote Originally Posted by fedele View Post
    shold I try 2 waypoints? one for each set?
    no you can add just an action waypoint like this:

    Code:
    local UTURA_GRAN = getsettings('Settings/Healer/Rules/utura gran/Enabled')
    
    if UTURA_GRAN = 'yes' then 
      setsettings('Settings/Healer/Rules/utura gran/Enabled','no')
    else
      setsettings('Settings/Healer/Rules/utura gran/Enabled','yes')
    end
    it will check if utura gran is activated it will desactivate it if it is not it will activate it

  9. #9
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    PHP Code:
    setsettings("Settings\\Healer\\Rules\\utura gran\\Enabled""no") -- will turn it off 
    PHP Code:
    setsettings("Settings\\Healer\\Rules\\utura gran\\Enabled""yes") -- will turn it on 

  10. #10
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    Balbek are right, you use wrong bar
    it's not / or //

    the right is \\

    setsettings('Settings\\Healer\\Rules\\SPELL_NAME\\ Enabled','yes') -- will enable the spell u select

    make sure you write the right name
    Utura Gran
    UTURA GRAN
    utura gran

    all diference

Posting Permissions

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