On CLOSE » History » Revision 2
Revision 1 (Per Amundsen, 11/14/2015 10:13 AM) → Revision 2/10 (Per Amundsen, 11/14/2015 10:14 AM)
_Added in 1.9.0_ *<notextile>on <level>:CLOSE:<?|@|=|!|*>:<matchtext>:<commands></notextile>* 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]] Matchtarget to listen to. <matchtext> - The [[Matchtext]] 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>