Results 1 to 3 of 3

Thread: Alert if X message on screen

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

    Arrow Alert if X message on screen

    If message on screen (The dragons of the Dragonblaze Mountains have descended to Zao to protect the lizardkin!)
    playsound xx.wav


    anyone could do this?
    Mateuswtf
    mateus.badalotti@gmail.com

    Let's bot! xD

  2. #2
    Focus Group Gryllz's Avatar
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    3,482
    Mentioned
    89 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    236 Post(s)
    Reputation
    342
    Rep Power
    10
    PHP Code:
    local MESSAGES getnewmessages("Server Log")  
    local MESSAGES_COUNT MESSAGES.count 1  

    for INDEX 0MESSAGES_COUNT do  
    if (
    MESSAGES[MESSAGES_COUNT INDEX].text:find("The dragons of the Dragonblaze Mountains have descended to Zao to protect the lizardkin!")) then  
    playsound
    ("alert.wav"
    end  
    end 

  3. #3
    Normal User
    Join Date
    Nov 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxx
    Mateuswtf
    mateus.badalotti@gmail.com

    Let's bot! xD

Posting Permissions

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