Results 1 to 8 of 8

Thread: If x Player is green (online) on vip list play sound

  1. #1
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4

    If x Player is green (online) on vip list play sound

    If x Player is green (online) on vip list play sound


    is this possible?

  2. #2
    Normal User mistgun's Avatar
    Join Date
    Nov 2012
    Location
    LDZ
    Posts
    333
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    41
    Rep Power
    5
    local CONFIG = {

    CHAR_NAME = "Noob", "Noobs", "noobzi" -- you can add more names

    }


    if (isviponline(CONFIG.CHAR_NAME) == true)
    then

    playsound("alert.wav")
    wait(500,800)
    end
    LATEST FREE AND PAID SCRIPTS

    Ghostland: EK Coryms Cave: EK
    Peninsula Tomb: EK, MS/ED Mount Sternum: EK
    Dwarf City: EK Nightstalkers Mountain: ED, MS

  3. #3
    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
    @up wont work, possibly the first name will work but not the rest.
    Lua Code:
     
    local WARN_PLAYERS = {"soder","django"}
     
    for i = 1, #WARN_PLAYERS do
        if isviponline(WARN_PLAYERS[i]) then
            playsound("alert.wav") wait(1000)
        end
    end
    Last edited by soder; 11-09-2013 at 09:17 AM.

  4. #4
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    beast thanks,

    theres only so many noob chars people can use for red skulling right? :P

  5. #5
    Normal User mistgun's Avatar
    Join Date
    Nov 2012
    Location
    LDZ
    Posts
    333
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    41
    Rep Power
    5
    I know bcs its probably wont unpack names
    LATEST FREE AND PAID SCRIPTS

    Ghostland: EK Coryms Cave: EK
    Peninsula Tomb: EK, MS/ED Mount Sternum: EK
    Dwarf City: EK Nightstalkers Mountain: ED, MS

  6. #6
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    hmmm neither of the above 2 solutions work any ideas?
    Last edited by django; 11-09-2013 at 08:58 PM.

  7. #7
    iBot User
    Join Date
    Nov 2012
    Posts
    319
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    33
    Rep Power
    5
    Quote Originally Posted by soder View Post
    @up wont work, possibly the first name will work but not the rest.
    Lua Code:
     
    local WARN_PLAYERS = {"soder","django"}
     
    for i = 1, #WARN_PLAYERS do
        if isviponline(WARN_PLAYERS[i]) then
            playsound("alert.wav") wait(1000)
        end
    end
    This work I tested with 2 names, btw I edited in a noobway
    Lua Code:
    local WARN_PLAYERS = {"xxxx","yyyyy"}
     
    for i = 1, #WARN_PLAYERS do
        if isviponline(WARN_PLAYERS[i]) then
            if maround(10,"minotaur", "bat")>0 then
            setsettings("Settings\\Targeting\\Enabled","yes")
        else
            setsettings("Settings\\Targeting\\Enabled","no")
        while (battlesigned) do wait(2000)
    end
    logout()
    end
    end
    end

  8. #8
    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
    Quote Originally Posted by django View Post
    hmmm neither of the above 2 solutions work any ideas?
    Soders works. My idea is that you try harder.

Posting Permissions

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