Results 1 to 5 of 5

Thread: Exori if 3 or more mobs around me pls

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    5

    Exori if 3 or more mobs around me pls

    I found any script but it's not working, it's so easy script and i can't find it on this forum... Could someone paste it here?

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Simple one, consider all monsters:

    Lua Code:
     
    if maround(1, false) >= 3 and cancast("exori")
    then
        cast("exori")
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    iBot User pepekoerich's Avatar
    Join Date
    Jun 2012
    Posts
    425
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    44 Post(s)
    Reputation
    21
    Rep Power
    5
    Quote Originally Posted by blakw View Post
    Simple one, consider all monsters:

    Lua Code:
     
    if maround(1, false) >= 3 and cancast("exori")
    then
        cast("exori")
    end
    @blakw what the false after maround() means?
    it's good to be back

  4. #4
    iBot User
    Join Date
    Jun 2012
    Location
    Netherlands
    Posts
    62
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by pepekoerich View Post
    @blakw what the false after maround() means?
    maround(int range, bool allfloors, array name)

    1 would represent 1sqm around you, false would represent only the floor you are currently on. Correct me if I'm wrong though

  5. #5
    iBot User pepekoerich's Avatar
    Join Date
    Jun 2012
    Posts
    425
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    44 Post(s)
    Reputation
    21
    Rep Power
    5
    Quote Originally Posted by Spana View Post
    maround(int range, bool allfloors, array name)

    1 would represent 1sqm around you, false would represent only the floor you are currently on. Correct me if I'm wrong though
    thanks @Spana !
    it's good to be back

Posting Permissions

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