Project

General

Profile

On CLOSE » History » Version 4

Per Amundsen, 12/31/2016 12:38 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 4 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 2 Per Amundsen
<level> - The level for the event to trigger.
14
<?|@|=|!|*> - The [[Matchtarget]] to listen to.
15 1 Per Amundsen
<commands> - The commands to be performed when the event listener's criteria is met.
16
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>