Project

General

Profile

On PARSELINE » History » Version 3

Per Amundsen, 11/18/2015 02:31 PM

1 1 Per Amundsen
_Added in 1.9.7_
2
3 2 Per Amundsen
*<notextile>on <level>:PARSELINE:<in|out|*>:matchtext:<commands></notextile >*
4 1 Per Amundsen
5
Triggers before incoming/outgoing server lines are received/sent and allows a script to modify them.
6
7
_See also [[/parseline]], [[$parsetype]], [[$parseline]]._
8
9
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<matchtext> - The [[Matchtext]] to listen to.
13
<commands> - The commands to be performed when the event listener's criteria is met.
14
15
*Example*
16
17
<pre>
18 3 Per Amundsen
on *:PARSELINE:in:badword:/parseline -itq $replace($parseline, badword, newword)
19 1 Per Amundsen
</pre>