Project

General

Profile

Actions

On PARSELINE » History » Revision 5

« Previous | Revision 5/7 (diff) | Next »
Per Amundsen, 11/18/2015 03:26 PM


Added in 1.9.7

on <level>:PARSELINE:<in|out|*>:matchtext:<commands>

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

on *:PARSELINE:in:badword:/parseline -it $replace($parseline, badword, newword)

Updated by Per Amundsen over 8 years ago · 5 revisions

Also available in: PDF HTML TXT