Page 1 of 1

Strange macro request

Posted: Mon Oct 25, 2004 2:19 pm
by Effico
Could someone point me in the right direction where i could create a macro for the following scenario.

When my guild raids PoTime, the raid leaders ask, in Guildchat, for people who are unable to the join the raid due to limit of 72 being reached, to send her a tell so she can register them for DKP`s qas we sit outside in PoTa waiting for a slot to open up.

What i would need is a system beep everytime the word "DKP" is mentioned in guildchat.

Is this possible?

Thanks

Eff.

Posted: Mon Oct 25, 2004 5:09 pm
by TheUnholy
thats.... sad..... hahaha. There's a hundred different macros that "beep if <event>" You can just change the event to watch guild chat for "DKP" Since it seems you gonna be just sitting around afk at a raid, it gives you something to do.

Posted: Tue Oct 26, 2004 3:23 am
by Chill
Effico, this is a pretty easy one. Try doing a search for "#Event AND /beep" and see what you come up with.

Put a little effort into it and try to come up with something. If you get stuck, post your code and I will help.

Posted: Tue Oct 26, 2004 9:23 am
by Effico
Thanks for the starting points guys,

Off to wreak havoc.

Will posts results later ;)

thanks again.

Posted: Tue Oct 26, 2004 9:59 am
by Effico
hmm,

The problem i have is that i cannot test it without it looking suspicious ;)

Code: Select all

|------------------------------- DKP Alert ----------------------------- 
|--------------------------- Beep "DKP Tells" Notification -----------------------
|----------------------------------------------------------------------------- 
|-------------------- System Beeps when the phrase " DKP " is used by anyone in guildchat
|----------------------------------------------------------------------------- 
|*******************************************************

#event DKP alert "#*#tells the guild,#*#dkp#*#" 

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

Sub Main 
   /echo Beep DKP alert! 
   :MainLoop 
      /doevents 
      /delay 3s 
      /goto :MainLoop 
/endmacro 

ok please don`t laugh ;)

Posted: Tue Oct 26, 2004 10:12 am
by A_Druid_00
Just ask someone to say DKP, it's not THAT suspicious. Or, alternatively modify it to listen in group or tells and log in a 2nd toon to test it. I'm consistently amazed at what I'm able to converse about in EQ with no repurcussions whatsoever. Short of sending a GM a tell saying, "Hi, I'm using MQ, please ban me", you're not in any danger. Hell, even then you probably have 50/50 odds since the GM is probably AFK

Posted: Tue Oct 26, 2004 10:53 am
by fearless
Untested

Code: Select all

|------------------------------- DKP Alert ----------------------------- 
|--------------------------- Beep "DKP Tells" Notification ----------------------- 
|----------------------------------------------------------------------------- 
|-------------------- System Beeps when the phrase " DKP " is used by anyone in guildchat 
|----------------------------------------------------------------------------- 
|******************************************************* 

#event DKP "#*#tells the guild,#*#dkp#*#" 

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

Sub Main 
   /echo Beep DKP alert! 
   :MainLoop 
      /doevents 
      /delay 3s 
      /goto :MainLoop 

Sub event_DKP
  /beep
  /echo "OMGZ SOMEBODY SAID DKP IN GUILD CHAT!"
  /popup "OMGZ SOMEBODY SAID DKP IN GUILD CHAT!"
/return

/endmacro 
You gave it the event, but did not define what it is supposed to do in the sub, also events should be single words, not two words (DKP or DKPalert vs "DKP alert").

Posted: Tue Oct 26, 2004 11:19 am
by Effico
Thanks Fearless.

really appreciated ;P

I can now watch tv and earn phat DKP`s ;P

Thanks for your help guys, the mind really does boggle at the limitless possibilites.

:)

Posted: Tue Oct 26, 2004 11:23 am
by fearless
WTH, I helped somebody that wasn't in VIP . . . the wonders that can happen when the questioner puts forth some effort.

Posted: Tue Oct 26, 2004 12:20 pm
by Chill

Code: Select all

|----------------------------- DKP Alert -----------------------------|
|-------------------------- DKP Notification -------------------------|
|---------------------------------------------------------------------| 
| System Beeps when the phrase " DKP " is used by anyone in guildchat |
|---------------------------------------------------------------------|
|-------------------- Written By Effico 26 OCT 04 --------------------|
|---------------------------------------------------------------------| 

#event DKP "#1# tells the guild,#*#dkp#*#" 

Sub Main 
   /echo DKP Alert Active! 
   :MainLoop 
      /doevents 
      /delay 1s 
      /goto :MainLoop 
/endmacro

Sub Event_DKP(string Line, string Name)
   /beep
   /popup ${Name} said DKP!
/return