Results 1 to 6 of 6

Thread: Stealth ring

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

    Post Stealth ring

    como faz pro bot equipar o stealth ?

  2. #2
    iBot User
    Join Date
    Sep 2012
    Posts
    27
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    Com essa action você escolhe com quantos monstros irá usar o ring e tirar o ring de volta caso não tenha mais a quantidade especificada.

    Code:
    local MONSTERS = {"monster1", "monster2", "monster3"}
    
    if (maround(7, false, unpack(MONSTERS)) > 2) then
        if (ring == 0) then
           moveitems("stealth ring","ring",1)
        end
    else
        if (ring == 3086) then
           moveitems(3086,"ring","all",1)
        end
    end
    --- Aqui nessa linha mude a quantidade de bichos para usar o ring ---
    Code:
    if (maround(7, false, unpack(MONSTERS)) > 2) then
    --- Nessa linha coloque o nome dos monstros, 1 ou mais. ---
    Code:
    local MONSTERS = {"monster1", "monster2", "monster3"}

  3. #3
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    PHP Code:
    local ringName 'stealth ring'

    if itemcount(ringName) > 0 then
       
    if ring ~= itemid(ringNamethen
          moveitems
    (ringName'all''ring'1)
       
    end
    end 

  4. #4
    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 Sayildd View Post
    PHP Code:
    local ringName 'stealth ring'

    if itemcount(ringName) > 0 then
       
    if ring ~= itemid(ringNamethen
          moveitems
    (ringName'all''ring'1)
       
    end
    end 
    Stealth ring & sparkling stealth ring is different IDs, this script will change ring even tho it equipped a stealth ring already.

    PS. Yes I know it's BR forum :P

  5. #5
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    Quote Originally Posted by soder View Post
    Stealth ring & sparkling stealth ring is different IDs, this script will change ring even tho it equipped a stealth ring already.

    PS. Yes I know it's BR forum :P
    No problem that is br forum.

    @action

    Yeah, thank for warning, i don't would remember this

  6. #6
    Normal User
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    obrigado peela ajuda !

Tags for this Thread

Posting Permissions

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