On CHAT » History » Version 2
Per Amundsen, 11/17/2015 04:08 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *<notextile>on <level>:CHAT:<matchtext>:<commands></notextile>* |
||
| 4 | |||
| 5 | Trigger when a message is sent to a dcc chat window. |
||
| 6 | |||
| 7 | 2 | Per Amundsen | _See also [[=$nick]]._ |
| 8 | |||
| 9 | 1 | Per Amundsen | *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 *:CHAT:*:echo -ag $nick sent message $1- |
||
| 19 | </pre> |