I previously posted this in plugin discussion, but it seems more appropriate here.
Here's a sample I'm trying that is not working. Maybe someone can explain what I'm doing wrong.
The goal is to have the macro respond to a message from IRC. Right now, the loop starts, and I see "In the loop" in the IRC server every 3 secs. From EQ, I can see messages by others from the IRC server.
But the Event_Chat code is never kicked off.
====
#chat IRC
Sub Main
:Mainloop
/doevents
/delay 3s
/i say In the loop
/goto :mainloop
/return
Sub Event_Chat(ChatType,Sender,ChatText)
/i say message for @sender of @ChatText
/return
======
