On NOTICE » History » Version 4
Per Amundsen, 01/22/2017 04:27 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 | 3 | Per Amundsen | _See also [[on SNOTICE]], [[on TEXT]], [[on ACTION]]._ |
8 | 1 | Per Amundsen | |
9 | 4 | 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 | <*|#|?> - The [[Matchtarget]] to listen to. |
||
16 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
17 | |||
18 | *Example* |
||
19 | |||
20 | <pre> |
||
21 | on *:NOTICE:*:#:echo -ag Notice $1- from $nick on channel $chan |
||
22 | </pre> |