Code: Select all
9 June 2007 by ieatacid
- Tell windows will now trigger events and '#chat tell'Code: Select all
#event tellwnd "[tellwnd]#1#: #2#"Example:
Code: Select all
#event tellwnd "[tellwnd]#1#: #2#"
Sub main
:loop
/doevents
/goto :loop
/return
Sub Event_tellwnd(Line,Sender,Text)
/echo Sender=${Sender} Text=${Text}
/returnCode: Select all
[MQ2] Sender=ieatacid Text=this is a testEdit: Disregard the above event syntax for the next zip. It just dawned on me that I can make them appear as regular tells, so no new changes should need to be made. The following will suffice for tell events (as well as #chat tell):
Code: Select all
#event tell "#1# tells you, '#2#'"