On CHAT » History » Version 3
  Per Amundsen, 01/22/2017 04:24 AM 
  
| 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 | 3 | Per Amundsen | _Haltable using ^_ | 
| 10 | |||
| 11 | 1 | Per Amundsen | *Parameters* | 
| 12 | |||
| 13 | <level> - The level for the event to trigger. | ||
| 14 | <matchtext> - The [[Matchtext]] to listen to. | ||
| 15 | <commands> - The commands to be performed when the event listener's criteria is met. | ||
| 16 | |||
| 17 | *Example* | ||
| 18 | |||
| 19 | <pre> | ||
| 20 | on *:CHAT:*:echo -ag $nick sent message $1- | ||
| 21 | </pre> |