Results 1 to 3 of 3

Thread: Put ring (energy) when x monsters are in screen (or attacking)

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

    Put ring (energy) when x monsters are in screen (or attacking)

    Hi, someone can help me please? i need to my char put a energy ring when 3 or more monsters are attacking him (or in the screen whatever) and put off if don┤t.

    Thank to all.

  2. #2
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Lua Code:
    if maround(7, false) >= 3 and ring == 0 and itemcount("energy ring") > 0 then
    moveitems("energy ring", "all", "ring", 1)
    wait(500,1000)
    elseif maround(7, false) < 3 and ring ~= 0 then
    moveitems(ring, "ring", "all", 1)
    wait(500,1000)
    end
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  3. #3
    Normal User
    Join Date
    Jul 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    I love you, really.

Posting Permissions

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