Project

General

Profile

On CLOSE » History » Revision 8

Revision 7 (Per Amundsen, 07/28/2018 09:27 PM) → Revision 8/10 (Per Amundsen, 04/01/2022 03:31 AM)

_Added in 1.9.0_ 

 *<notextile>on <level>:CLOSE:<?|@|=|*>:<commands></notextile>* <level>:CLOSE:<?|@|=|!|*>:<commands></notextile>* 

 _For DCC Chat windows, it only triggers when the connection is closed._ 

 Trigger for various events relating to the closing of a window of different types of windows. 

 _See also [[on OPEN]]._ 

 *Parameters* 

 &lt;level&gt; - The [[User Access Level]] for the event to trigger. 
 &lt;?|@|=|!|*&gt; - The [[Matchtarget]] to listen to. 
 &lt;commands&gt; - The commands to be performed when the event listener's criteria is met. 

 *Example* 

 <pre> 
 ; Print a message when a query window is closed. 
 on *:CLOSE:?:*:echo -ag Closed query window for $nick 
 </pre>