Page 1 of 1

#event still bugged?

Posted: Wed May 12, 2004 11:10 pm
by dubborama
Seems that #event may still be bugged. Made a test macro to check if events were being executed:

#event Testing "Event-working"

Sub Main

:MainLoop
/echo Event-working
/doevents
/goto :Mainloop
/return

Sub Event Testing
/echo Yes
/return



...."Yes" was not being echoed back to me, the sub routine wasn't being executed.

Posted: Wed May 12, 2004 11:14 pm
by Lax
It's not bugged.

Events specifically require that you account for the entire line you are wanting to match. Can you tell me anything that might come before "Event-working" when you use /echo? I think you can ;)

Posted: Wed May 12, 2004 11:15 pm
by ml2517
*hint* What is the exact text you saw when you /echo'd that line?

Posted: Wed May 12, 2004 11:54 pm
by dubborama
ahh i gotcha :wink:

Changed?

Posted: Wed May 12, 2004 11:54 pm
by Mysteryman
When was this changed? I don't see anything in changes.txt. I have a script I've been working on for a while now, and as of today, events require EXACTLY the text.. ie Including the [MQ2] part in the front..


My events that were firing off yesterday , are no longer working with the 2nd build from 5/12. I can't get a msg like....

You have been slain

to work at all.

All the ones that I'm echo'ing for events to trigger on will work, but i had to stick in the [mq2] in the front of the msg now .

was
#Event BlaBla "My Custom stuff"


today
#Event BlaBla "[MQ2] My Custom stuff"

Posted: Thu May 13, 2004 12:07 am
by Dulapore
http://macroquest2.com/phpBB2/viewtopic.php?t=7066

Oh and from the Change log.

Code: Select all

07 May 2004 by Lax: 
- Added "Lax/Blech" support to custom events.  The Blech system allows much easier parsing of 
  incoming chat.  Custom events will now support more parameters that are automatically 
  parsed based on the match text. 

Posted: Thu May 13, 2004 12:10 am
by Mysteryman
YOU FUCKING IDIOT!!!



There.. I've been verbally abused for that...... damn

Posted: Thu May 13, 2004 12:11 am
by Dulapore
Sorry, I'm too new to feel the right to flame you. You did well on your own there though.