Results 1 to 2 of 2

Thread: weat stealth ring

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    weat stealth ring

    i need script that will wear stealth ring if more than 5 monster around me and then take it off when 3monster around me

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    I didn't test it.

    PHP Code:
    local creatureArray = {"Demon Skeleton""Hunter""Your mother"}
    local maxCreatures -- Number of monsters to equip ring
    local minCreatures 
    -- Number of monsters to un-equip ring 

    if maround(7unpack(creatureArray)) >= maxCreatures and ring == 0 then
        moveitems
    ("stealth ring""all""ring"1)
    elseif 
    maround(7unpack(creatureArray)) <= minCreatures and ring ~= 0 then
        moveitems
    (ring"ring""all"1)
    end 

Posting Permissions

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