On NOTICE » History » Version 1
Per Amundsen, 11/16/2015 04:13 AM
| 1 | 1 | Per Amundsen | _Added in 1.8.10_ |
|---|---|---|---|
| 2 | |||
| 3 | *<notextile>on <level>:NOTICE:<matchtext>:<*|#|?>:<commands></notextile>* |
||
| 4 | |||
| 5 | Triggers whenever a [[/notice|notice]] message is received. |
||
| 6 | |||
| 7 | See also [[on TEXT]], [[on ACTION]]. |
||
| 8 | |||
| 9 | *Parameters* |
||
| 10 | |||
| 11 | <level> - The level for the event to trigger. |
||
| 12 | <matchtext> - The [[Matchtext]] to listen to. |
||
| 13 | <*|#|?> - The [[Matchtarget]] to listen to. |
||
| 14 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
| 15 | |||
| 16 | *Example* |
||
| 17 | |||
| 18 | <pre> |
||
| 19 | on *:NOTICE:*:#:echo -ag Notice $1- from $nick on channel $chan |
||
| 20 | </pre> |