Results 1 to 4 of 4

Thread: Alert when specific player on screen

  1. #1
    Normal User
    Join Date
    Nov 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Alert when specific player on screen

    One guy keeps luring on me all the time. It would help alot with an alert when this specific guy is on my screen.

    Is it possible to do it somehow?

  2. #2
    Focus Group sunlips's Avatar
    Join Date
    Feb 2013
    Location
    WWA
    Posts
    644
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    47 Post(s)
    Reputation
    60
    Rep Power
    5
    here you go,
    add it to actions

    local PLAYERS = {"sunlips"}

    if paround(7,false,unpack(PLAYERS)) > 0 then
    playsound("alert.wav")
    end

    Last edited by sunlips; 12-17-2013 at 06:35 PM.

  3. #3
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Add some wait times after the playsound. Else you will get lots of beeps and it may cause the bot to crash.

  4. #4
    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 BUgWT View Post
    Add some wait times after the playsound. Else you will get lots of beeps and it may cause the bot to crash.
    Default action spam time is like once per second, so it shouldn't be too bad.

Posting Permissions

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