Results 1 to 3 of 3

Thread: Energy Ring

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

    Energy Ring

    Hello everyone!
    im using this action to equip energy ring if player on screen and let me add its working like a charm. (too bad i dont know who made it so i can not credit any1.)

    local CONFIG = {
    RING_NAME = "energy ring",
    }

    if (paround(7,false) > 0 and ring == 0) then
    moveitems(CONFIG.RING_NAME,"all","ring",1)
    elseif (paround(7,false) == 0 and ring ~= 0) then
    moveitems(ring,"ring","all",1)
    end

    the only problems is that by the time i turn off this actions (Start>settings>actions>list>enery ring>enabled:no) the enemy usually waste all of my mana. so i would like to ask you to help me with a HOTKEY that if i press IT WILL STOP THIS ACTION AND take off the ring if its equiped and if i press it again then it will equip the ring. something like utamo vita that u can stop/start anytime u want. if u have any questions do not hesitate to ask.
    oh and it would be AWESOME if some1 could add something to this action so it wouldnt put on the ring even if player on screen WHEN in protection zone.
    thank you guys!
    Last edited by mateuszok; 12-05-2013 at 04:32 AM.

  2. #2
    Normal User
    Join Date
    Aug 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bring
    up
    my
    post

  3. #3
    Normal User
    Join Date
    Dec 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Add this to hotkeys - change "enery ring" to what your action is called:
    Code:
    local ering = getsettings("Settings/Actions/List/enery ring/Enabled")
    
    if ering == 'yes' then
       setsettings("Settings\\Actions\\List\\enery ring\\Enabled","no")
    else
       setsettings("Settings\\Actions\\List\\enery ring\\Enabled","yes")
    end
    wait(500)
    Also, for the PZ part, I edited the action:
    Code:
    local CONFIG = {
    RING_NAME = "energy ring",
    }
    
    if (paround(7,false) > 0 and ring == 0 and pzone == false) then
    moveitems(CONFIG.RING_NAME,"all","ring",1)
    elseif (paround(7,false) == 0 and ring ~= 0) then
    moveitems(ring,"ring","all",1)
    end
    Last edited by Pwnzor; 12-19-2013 at 02:44 PM.

Posting Permissions

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