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