Moderator: MacroQuest Developers
Code: Select all
#Chat TellCode: Select all
/doeventsCode: Select all
/doevents ChatCode: Select all
Sub Event_Chat
/beep
/returnCode: Select all
Sub Event_Chat(string ChatType,string Sender,string ChatText) Code: Select all
/if (${ChatType.Equal[TELL]}) /beep
Code: Select all
#event Tell "tells you"
sub Event_Tell
/beep
/mp3 play
/return (or goto :xyz)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
|=============================================================================