Page 1 of 1

What can you put after #chat

Posted: Thu May 06, 2004 11:43 pm
by omper
I know that you can put

#chat tell

But what else can you use..

ie i want an event to kick when i gain exp.. how would i do that.. and also when I am too far away from target..


tks

Posted: Thu May 06, 2004 11:46 pm
by ieatacid
I think this is all of them.

Code: Select all

#chat say
#chat tell
#chat ooc
#chat shout
#chat auc
#chat guild
#chat group
#chat chat 
Pretty sure "#chat chat" is what you'd want to use for exp messages and similar.

Posted: Thu May 06, 2004 11:50 pm
by omper
tks .. will try that..

Posted: Fri May 07, 2004 8:33 am
by Preocts
#Chat is for.... chat. #Event would be for... events. Gaining experience is an event, OOC is a chat. Don't know if a chat event is going to work when you gain experience.

Code: Select all

#Event GainExp "You gain" 
#Event GainExp "You regain some experience from resurrection" 
#Event LoseExp "You have been slain" 
Cut and pasted from:
http://macroquest2.com/phpBB2/viewtopic.php?t=6962

If you happen to try #Chat for those events and it works let me know eh?

Posted: Fri May 07, 2004 1:53 pm
by bohicaseti
Just to satisfy a curiosity of mine, is there a #chat Raid? Or would the raid chatter be considered under the #chat Chat area? Just an odd question that popped in my head when I saw this. :)

Posted: Mon May 10, 2004 10:25 pm
by Rusty~
raidsay seems to be counted as an event. not sure why though!

Posted: Mon May 10, 2004 10:27 pm
by Lax
theyre all "event"s, but the above are built in. Raid chat wasnt added to EQ until ... ... last year? and was never put in MQ so ;)

Posted: Mon May 10, 2004 10:46 pm
by gruefood
You might be looking for something like this. I use this to give me an idea of how much exp I'm getting.

Code: Select all

#event CheckExp "slain"

|****  Put these at the top of your macro *****|
    /declare LastExp outer
    /varset LastExp ${Me.PctExp}



|***********************************************************|
Sub Event_CheckExp
    /echo ${Math.Calc[${Me.PctExp}-${LastExp}]}
    /varset LastExp ${Me.PctExp}
/return
|***********************************************************|
Edit: I'm guessing this doesn't work with the latest zip. I have some work to do on my macros. If I had to guess, the first line would be:

Code: Select all

#event CheckExp "#*#slain#*#"

Posted: Tue May 11, 2004 6:15 pm
by Chill
sup with the "#*#" around partial strings, and do we now need those?

also, do we need the #chat chat or whatever above, or can we just code for #events and trust it to pick stuff up?

Posted: Tue May 11, 2004 7:16 pm
by Preocts
RTFM and yes.

Posted: Wed May 12, 2004 12:34 pm
by Chill
thanks for the helpful comments Preocts. I read the readme.chm file and it still shows the old events.

Anyone else having trouble with events, I just found the CUSTOM EVENTS CHANGE COMING post in the Conversion Help forum, and it explains the new system.

I am still unclear if we need to define a "#chat" channel before defining events, however. What happens if we leave it blank? Will it use everything or does it have a default channel it will use if nothing is assigned?