Results 1 to 2 of 2

Thread: Need help turning off an action if a strange player appear

  1. #1
    iBot User
    Join Date
    May 2012
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    16
    Rep Power
    5

    Need help turning off an action if a strange player appear

    Is it possible to make a list of names and check for everyone in the screen, if there is a DIFFERENT name, then turn off only one action?

  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
    Lua Code:
     
    --Safe list:
    local playerSafeList = {"blakw", "jonatas", "craban"}
     
     
    if paround(7, false, unpack(playerSafeList)) == 0 and paround(7, false) >= 1
    then
        setsettings("Settings\\Actions\\List\\ACTION NAME HERE\\Enabled", "no")
    else
        setsettings("Settings\\Actions\\List\\ACTION NAME HERE\\Enabled", "yes")
    end


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

    For a better iBot!

    (◣_◢)

Posting Permissions

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