Page 1 of 1

Audio Tell Alert (Updated 5/25/2004)

Posted: Sat May 15, 2004 3:50 am
by a_troll_01
*** UPDATED 5/25/04 ***
*** Now alerts for direct group invites or Hails.

I play a class that isn't highly in demand, so I like to AFK while LFG to read, watch TV, browse the web, something of the sort. I ended up replying to tells too late, obviously, for the few offers that did come in. This quick little macro will spout off endless PC-Speaker beeps when you've recieved a tell until you hit the <ENTER> key to shut it off, at which time it cleans up the binds and ends the macro. So, you can get a away from your computer while LFG or such to do more constructive things, and not have to spin around to check for tells every 30 seconds. Simple, but useful. Enjoy. Any feedback is not only welcome, but appreciated.

Code: Select all

|=============================================================================
|------------------------------- Tell Alert v1.2 -----------------------------
|--------------------------- Audio /tell Notification ------------------------
|-----------------------------------------------------------------------------
|--- Spouts out endless beeps when you've recieved a tell. Useful for
|--- being semi-AFK or in another process window while LFG, for example. 
|--- USAGE: /macro Tell 
|---    Hit <ENTER> after the alert is triggered to end the macro.
|---    Otherwise, '/endmacro' as normal.
|--- Don't forget to change YOURNAMEHERE to your toon's name.
|-----------------------------------------------------------------------------
|--- By: a_troll_01 (5/15/04) 
|---    Last Updated (5/25/04)
|--- Special Thanks to Lax for help with the custom binds.
|--- Enjoy! 
|=============================================================================

#event Tell "#*#tells you,#*#" 
#event Invite "#*#invites you to join#*#"
#event Hail "#*#Hail, YOURNAMEHERE#*#"

|=============================================================================

Sub Main 
   /echo Beep Tell-Alert Activated! 
   :MainLoop 
      /doevents
      /delay 2s
      /goto :MainLoop 
/endmacro 

|=============================================================================

Sub Event_Tell 
   /custombind add EndMacro
   /custombind set EndMacro /goto :End
   /bind EndMacro ENTER
   /echo You have recieved a tell. Press <ENTER>.
   :BeepLoop
   /beep
   /delay 1s 
   /goto :BeepLoop

   :End
      /bind EndMacro clear
      /custombind delete EndMacro
      /echo Shutting down Tell Alert Macro ...
/endmacro

|=============================================================================

Sub Event_Invite 
   /custombind add EndMacro
   /custombind set EndMacro /goto :End
   /bind EndMacro ENTER
   /echo You have been invited to a group. Press <ENTER>.
   :BeepLoop
   /beep
   /delay 1s 
   /goto :BeepLoop

   :End
      /bind EndMacro clear
      /custombind delete EndMacro
      /echo Shutting down Tell Alert Macro ...
/endmacro

|=============================================================================

Sub Event_Hail
   /custombind add EndMacro
   /custombind set EndMacro /goto :End
   /bind EndMacro ENTER
   /echo You have been hailed. Press <ENTER>.
   :BeepLoop
   /beep
   /delay 1s 
   /goto :BeepLoop

   :End
      /bind EndMacro clear
      /custombind delete EndMacro
      /echo Shutting down Tell Alert Macro ...
/endmacro

|=============================================================================

Posted: Sat May 15, 2004 6:13 am
by amml
thx a lot, use it all the time now :)

Posted: Sat May 15, 2004 7:18 am
by Programmer
Or you could just use the mq2speech plugin, which reads each tell off to you; then you can not only get an audio alert, but you can make an intelligent decision on if you want to respond, since you already know the contents of the /tell without moving to your computer.

Posted: Sat May 15, 2004 8:37 am
by a_troll_01
Programmer wrote:Or you could just use the mq2speech plugin, which reads each tell off to you; then you can not only get an audio alert, but you can make an intelligent decision on if you want to respond, since you already know the contents of the /tell without moving to your computer.
That's another option :) Both have their uses. Really a matter of personal taste. I like the beeping because I'm not always in the room, I just pass through now and then.

Wav

Posted: Tue May 18, 2004 12:47 pm
by Hattrick
Love the idea, remember seeing one that plays a wav file of your choice for the alert. Is there anyway you can made a macro that can play a wav file? Seems that my computer speaker is just not loud enough, I can hear it but not enough for this old man. Even with speaker volume cranked all the way up in the volume control panel. If so, thank you very much...

Posted: Tue May 18, 2004 7:39 pm
by boborr
NM Found MQ2Speech was looking only in macro forum.

Posted: Fri May 21, 2004 7:46 pm
by dydon
Would be awesome if this also beeped if you recieved an invite for group, raid, or expedition!

Posted: Sat May 22, 2004 4:18 pm
by demiourgos
I use tell windows. Is there any type of command I could use that would do the exact some thing when a chat window pops?

Posted: Sat May 22, 2004 6:13 pm
by demiourgos
Ok, I took your macro and made it work for Tell windows. This is my first macro that I have actually tried to do some coding in so it may be bulkier than it needs to be, feel free to do with it as you will. It works for me.

Code: Select all

Sub Main 
   /echo Beep Tell-Alert Activated! 
   :MainLoop 
      /if (${Window[ChatWindow].Open}) {
          /custombind add EndMacro 
          /custombind set EndMacro /goto :End 
          /bind EndMacro ENTER 
          /echo You have recieved a tell. Press <ENTER> to end 

alert. 
          :BeepLoop 
           /beep 
           /delay 1s 
           /goto :BeepLoop 

          :End 
           /bind EndMacro clear 
           /custombind delete EndMacro 
           /echo Shutting down Tell Alert Macro ...
           /endmacro  
      } else /delay 2s 
      /goto :MainLoop 
/endmacro 

Posted: Fri May 28, 2004 3:22 pm
by bzt
how would you make this play a .wav file or mp3?