On CHAT » History » Version 1
  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 | *Parameters* | ||
| 8 | |||
| 9 | <level> - The level for the event to trigger. | ||
| 10 | <matchtext> - The [[Matchtext]] to listen to. | ||
| 11 | <commands> - The commands to be performed when the event listener's criteria is met. | ||
| 12 | |||
| 13 | *Example* | ||
| 14 | |||
| 15 | <pre> | ||
| 16 | on *:CHAT:*:echo -ag $nick sent message $1- | ||
| 17 | </pre> |