On PARSELINE » History » Revision 4
Revision 3 (Per Amundsen, 11/18/2015 02:31 PM) → Revision 4/7 (Per Amundsen, 11/18/2015 03:26 PM)
_Added in 1.9.7_
*<notextile>on <level>:PARSELINE:<in|out|*>:matchtext:<commands></notextile >*
Triggers before incoming/outgoing server lines are received/sent and allows a script to modify them.
_See also [[/parseline]], [[$parsetype]], [[$parseline]]._
*Parameters*
<level> - The level for the event to trigger.
<in|out|*> - Listen to in/out messages or both.
<matchtext> - The [[Matchtext]] to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.
*Example*
<pre>
on *:PARSELINE:in:badword:/parseline -itq $replace($parseline, badword, newword)
</pre>