Signup Now
Results 1 to 5 of 5

Thread: Boss allert

  1. #1
    Free User
    Join Date
    May 2014
    Posts
    10
    Reputation
    10
    Rep Power
    0

    Boss allert

    is there any type of serverlog reader for raids and alets such as sound like someone is attaking you kind of like to really wake you up in the middle of the night??

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Wrong area, post Lua Requests


    Multi messages raid no servelog

    --Raid
    auto(1000)
    local CheckRaid = true
    local Raids = 'blablabla' or 'blablabla2' --raid 1 or raid 2 etc

    if CheckRaid then
    foreach newmessage m do
    if m.content == Raids then
    printerror('Raid Start')
    playsound('monster.wav')
    wait(3000)
    end
    end
    end


    Simple Raid one message and servelog

    --Raid
    auto(1000)
    local CheckRaid = true
    local Raids = 'blablabla' --raid

    if CheckRaid then
    foreach newmessage m do
    if m.content == Raids then
    printerror('Raid, '..Raid..' , starting')
    playsound('monster.wav')
    wait(3000)
    end
    end
    end

  3. #3
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,820
    Reputation
    220
    Rep Power
    26

  4. #4

  5. #5
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,820
    Reputation
    220
    Rep Power
    26
    Quote Originally Posted by Cisco View Post
    When RAID need to put it?

    m.type == MSG_RAID

    Messages i'm still learning
    You don't have to but it's better to add this since it will check ONLY raid messages then.

 

 

Posting Permissions

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