Results 1 to 4 of 4

Thread: Alert Monster on Screen

  1. #1
    iBot User visicatto's Avatar
    Join Date
    May 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Post Alert Monster on Screen

    I need this Action, can someone help me?

    I tested this, but does not work:

    PHP Code:
    -- [ Alert if many monsters ] -- 

    local ACTION_VERSION 'by Sayild 1.0' 
    local AMMOUNT_TO_ALERT 
    local MONSTERS_TO_ALERT 
    = {"Spectre"


    if 
    maround(2unpack(MONSTERS_TO_ALERT)) >= AMMOUNT_TO_ALERT then 
    wait
    (500

        
    playsound('alert.wav')
        if 
    not focused then
        focusclient
    () 
        
    flashclient() 
    end 

    -- [ End of Action ] -- 
    clica na estrelinha e vaaaza play !

  2. #2
    Banned
    Join Date
    Jun 2012
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    if maround(2, "Spectre") > 0 then
    playsound("alert.wav")
    flashclient()
    end

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    PHP Code:
    -- [ Alert if many monsters ] -- 

    local AMMOUNT_TO_ALERT 
    local MONSTERS_TO_ALERT 
    = {'Spectre'


    if 
    maround(10unpack(MONSTERS_TO_ALERT)) >= AMMOUNT_TO_ALERT then 
    wait
    (500

        
    playsound('alert.wav')
        if 
    not focused then
        focusclient
    () 
        
    flashclient() 
        
    end 
    end

    -- [ End of Action ] -- 

  4. #4
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    check if you have alert.wav on SOUNDS folder, inside iBot folder.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

Posting Permissions

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