Signup Now
Results 1 to 5 of 5
  1. #1
    Free User
    Join Date
    Sep 2015
    Posts
    2
    Reputation
    10
    Rep Power
    0

    Life Ring Refiller On/OFF

    Hello everyone, I am thinking about changing from iBot to Windbot, but I have one problem with a hotkey when trying to convert my Healing Script. Could you guys help me?

    On iBot, I have a hotkey that make the Life Ring Refiller go on/off, so when I finish hunting, I can press Pause and the bot stops refilling my life rings and change my ring to a Ring of The Sky. Here is the action/hotkey:

    PHP Code:
    local lring getsettings("Settings\\Refiller\\Rules\\lifering\\Enabled")
    local DefaultRing "Ring of the Sky"

    if lring == 'no' then
        setsettings
    ("Settings\\Refiller\\Rules\\lifering\\Enabled""yes")
    else
        
    setsettings("Settings\\Refiller\\Rules\\lifering\\Enabled""no")
        
    equipring(DefaultRingMainBP1)
    end 
    It does not work when I try to convert. It shows me a error with the variables and obviously with the path of the refiller.

    Thanks bros
    Last edited by Aleczk; 10-06-2015 at 06:57 AM.

  2. #2
    Free User
    Join Date
    Sep 2015
    Posts
    28
    Reputation
    10
    Rep Power
    0
    if itemcount("life ring", getuseroption('RingsBP')) <= 2 then --Makes sure you have atleast 1 ring in main bp
    setsetting('Looting/LootList/life ring/LootingDestination', 'supplybp')
    else
    setsetting('Looting/LootList/life ring/LootingDestination', 'rarebp')
    end

  3. #3
    Free User
    Join Date
    Sep 2015
    Posts
    2
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Wasrea View Post
    if itemcount("life ring", getuseroption('RingsBP')) <= 2 then --Makes sure you have atleast 1 ring in main bp
    setsetting('Looting/LootList/life ring/LootingDestination', 'supplybp')
    else
    setsetting('Looting/LootList/life ring/LootingDestination', 'rarebp')
    end
    Thank you, but it did not work, buddy .

    But tbh I did not understand your script as well

  4. #4
    Free User
    Join Date
    Aug 2015
    Posts
    1
    Reputation
    10
    Rep Power
    0
    ok so try this:

    if $cavebot then
    setsettings("Settings\\Refiller\\Rules\\lifering\\Enabled", "yes")
    else
    setsettings("Settings\\Refiller\\Rules\\lifering\\Enabled", "no")
    equipitem('Ring of the Sky', 'finger')
    end


    i hope to helped you
    Last edited by Topotonixs; 10-06-2015 at 07:56 AM.

  5. #5
    Free User strahowski's Avatar
    Join Date
    Aug 2014
    Posts
    216
    Reputation
    27
    Rep Power
    20
    In Scrips (not persistent):


    if($finger.id == itemid("ring of the sky")) then
    equipitem('Life ring', 'finger')
    else
    equipitem('ring of the sky', 'finger')
    end


    What is this Refiller thing?
    Last edited by strahowski; 10-06-2015 at 11:33 AM.

 

 

Posting Permissions

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