Project

General

Profile

On CLOSE » History » Version 6

Per Amundsen, 07/28/2018 09:27 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 6 Per Amundsen
&at;level&gt; - The [[User Access Level]] for the event to trigger.
14
&at;?|@|=|!|*&gt; - The [[Matchtarget]] to listen to.
15
&at;commands&gt; - 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>