Results 1 to 6 of 6

Thread: need stealth ring script :d

  1. #1
    Normal User Crimewave's Avatar
    Join Date
    Jul 2012
    Location
    Sweden, Stockholm
    Posts
    205
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    12
    Rep Power
    5

    need stealth ring script :d

    Hellow, i need a script for putting stealth ring when more than 3 monsters possible ?.P

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Edit STEALTH_IN_USE to the id of stealth ring when being used.
    Code:
    local STEALTH_IN_USE = 0000
    local BACKPACK = MainBP
    
    --[[ ENGINE ]]--
    if ((maround(4) >= 3) and (ring == 0)) then
        moveitems("stealth ring",BACKPACK,'ring',1)
    elseif ((maround(4) <= 2) and (ring ~= 0)) then
        moveitems(STEALTH_IN_USE,'ring',BACKPACK,1)
    end
    Last edited by soder; 09-11-2012 at 12:01 PM.

  3. #3
    Normal User Crimewave's Avatar
    Join Date
    Jul 2012
    Location
    Sweden, Stockholm
    Posts
    205
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    12
    Rep Power
    5
    very thx <

  4. #4
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    local STEALTH_IN_USE = 3049
    local BACKPACK = MainBP

    --[[ ENGINE ]]--
    if ((maround(4) >= 3) and (ring == 0)) then
    moveitems("stealth ring",BACKPACK,'ring',1)
    elseif ((maround(4) <= 2) and (ring ~= 0)) then
    moveitems(STEALTH_IN_USE,'ring',BACKPACK,1)
    end


    what am I doing wrong?
    Last edited by yan_rulez; 09-17-2012 at 01:35 PM.

  5. #5
    Normal User
    Join Date
    May 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Have you change name of Backpack in your setup?

  6. #6
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by yan_rulez View Post
    local STEALTH_IN_USE = 3049
    local BACKPACK = MainBP

    --[[ ENGINE ]]--
    if ((maround(4) >= 3) and (ring == 0)) then
    moveitems("stealth ring",BACKPACK,'ring',1)
    elseif ((maround(4) <= 2) and (ring ~= 0)) then
    moveitems(STEALTH_IN_USE,'ring',BACKPACK,1)
    end


    what am I doing wrong?
    Change STEALTH_IN_USE to the id of stealth ring while being used(glittering stealth ring), not normal ID.
    Use print(ring) to find out the id when you got stealth ring in ring slot.

Posting Permissions

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