_Added in 4.4_ *on :CLOSING:<|@|*>:* Trigger when manually closing a custom window, using [[/halt]] cancels the closing. _See also [[$target]]._ *Parameters* <level> - The [[User Access Level]] for the event to trigger. <@|*> - The [[Matchtarget]] to listen to. <commands> - The commands to be performed when the event listener's criteria is met. *Example*
on *:CLOSING:@window:echo -ag $target is closing, cancel the closing by halting | halt