On PARSELINE » History » Version 1
Per Amundsen, 11/18/2015 02:28 PM
1 | 1 | Per Amundsen | _Added in 1.9.7_ |
---|---|---|---|
2 | |||
3 | *<notextile>on <level>:PARSELINE:<in|out|*>:matchtext:<commands><notextile>* |
||
4 | |||
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 | on *:PARSELINE:*:*:echo -ag $parsetype $parseline |
||
19 | </pre> |