On CLOSE » History » Version 3
Per Amundsen, 11/16/2015 04:23 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *<notextile>on <level>:CLOSE:<?|@|=|!|*>:<matchtext>:<commands></notextile>* |
||
4 | |||
5 | Trigger for various events relating to the closing of a window of different types of windows. |
||
6 | |||
7 | 3 | Per Amundsen | _See also [[on OPEN]]._ |
8 | 1 | Per Amundsen | |
9 | *Parameters* |
||
10 | |||
11 | <level> - The level for the event to trigger. |
||
12 | 2 | Per Amundsen | <?|@|=|!|*> - The [[Matchtarget]] to listen to. |
13 | <matchtext> - The [[Matchtext]] to listen to. |
||
14 | 1 | Per Amundsen | <commands> - The commands to be performed when the event listener's criteria is met. |
15 | |||
16 | *Example* |
||
17 | |||
18 | <pre> |
||
19 | ; Print a message when a query window is closed. |
||
20 | on *:CLOSE:?:*:echo -ag Closed query window for $nick |
||
21 | </pre> |