On CLOSE » History » Revision 4
Revision 3 (Per Amundsen, 11/16/2015 04:23 AM) → Revision 4/10 (Per Amundsen, 12/31/2016 12:38 PM)
_Added in 1.9.0_ *<notextile>on <level>:CLOSE:<?|@|=|!|*>:<commands></notextile>* <level>:CLOSE:<?|@|=|!|*>:<matchtext>:<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* <level> - The level for the event to trigger. <?|@|=|!|*> - The [[Matchtarget]] to listen to. <matchtext> - The [[Matchtext]] to listen to. <commands> - 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>