Audio Tell Alert (Updated 5/25/2004)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

User avatar
a_troll_01
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sat Dec 06, 2003 6:06 am
Location: Memphis, TN
Contact:

Audio Tell Alert (Updated 5/25/2004)

Post by a_troll_01 » Sat May 15, 2004 3:50 am

*** 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

|=============================================================================
Last edited by a_troll_01 on Wed May 26, 2004 1:26 am, edited 7 times in total.
-- a_troll_01

amml
a lesser mummy
a lesser mummy
Posts: 68
Joined: Thu Apr 22, 2004 4:55 pm

Post by amml » Sat May 15, 2004 6:13 am

thx a lot, use it all the time now :)

Programmer
a hill giant
a hill giant
Posts: 195
Joined: Mon Dec 01, 2003 2:41 am

Post by Programmer » Sat May 15, 2004 7:18 am

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.

User avatar
a_troll_01
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sat Dec 06, 2003 6:06 am
Location: Memphis, TN
Contact:

Post by a_troll_01 » Sat May 15, 2004 8:37 am

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.
-- a_troll_01

Hattrick
decaying skeleton
decaying skeleton
Posts: 2
Joined: Wed Apr 21, 2004 10:41 pm

Wav

Post by Hattrick » Tue May 18, 2004 12:47 pm

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...

boborr
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sun May 16, 2004 2:41 pm

Post by boborr » Tue May 18, 2004 7:39 pm

NM Found MQ2Speech was looking only in macro forum.

dydon
decaying skeleton
decaying skeleton
Posts: 2
Joined: Thu Apr 22, 2004 8:02 pm

Post by dydon » Fri May 21, 2004 7:46 pm

Would be awesome if this also beeped if you recieved an invite for group, raid, or expedition!

demiourgos
orc pawn
orc pawn
Posts: 11
Joined: Tue May 18, 2004 12:48 pm

Post by demiourgos » Sat May 22, 2004 4:18 pm

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?

demiourgos
orc pawn
orc pawn
Posts: 11
Joined: Tue May 18, 2004 12:48 pm

Post by demiourgos » Sat May 22, 2004 6:13 pm

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 

bzt
a lesser mummy
a lesser mummy
Posts: 77
Joined: Fri Oct 10, 2003 3:39 pm

Post by bzt » Fri May 28, 2004 3:22 pm

how would you make this play a .wav file or mp3?