Results 1 to 8 of 8

Thread: Energy ring hotkey

  1. #1
    Taturovy's Avatar
    Join Date
    May 2012
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    15
    Rep Power
    5

    Energy ring hotkey

    Hello i need action hotkey , if player (his name) on screen then put e ring, else put it off or if its not possible put crystla ring

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    PHP Code:
    if paround("name") > and ring == "crystal ring" then
    moveitems
    ("energy ring""ring")
    wait(500,750)
    elseif 
    paround("name") == and ring ~= "crystal ring" then
    moveitems
    ("crystal ring""ring")
    wait(500,750)
    end 

  3. #3
    Taturovy's Avatar
    Join Date
    May 2012
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    15
    Rep Power
    5
    doesnt work ;/

  4. #4
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    try now:

    PHP Code:
    if paround(7"name") > and ring == "crystal ring" then
    moveitems
    ("energy ring""ring")
    wait(500,750)
    elseif 
    paround(7"name") == and ring ~= "crystal ring" then
    moveitems
    ("crystal ring""ring")
    wait(500,750)
    end 
    also, have u crystal ring and energy ring in main backpack? If yes show your debug window (Help>Debug)

  5. #5
    Taturovy's Avatar
    Join Date
    May 2012
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    15
    Rep Power
    5
    debug clear and stil doesnt work ;/ just movedf crystal ring to ring place and didnt move e rign when player on screen

  6. #6
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    have u changed "name" to nick of player u want? If u want all players left:
    PHP Code:
    paround(7
    Last edited by RafiXWPT; 02-23-2013 at 02:53 PM.

  7. #7
    Taturovy's Avatar
    Join Date
    May 2012
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    15
    Rep Power
    5
    yes i changed i dobut about this part, elseif paround(7, "name") == 0 and ring ~= "crystal ring" then
    moveitems("crystal ring", "ring")
    shouldnt be elseif paround(7, "name") == 0 and ring ~= "energy ring" then
    moveitems("crystal ring", "ring")?

  8. #8
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    nope, mine way is good, try without "name", only paround(7)

Posting Permissions

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