On CLOSING » History » Revision 4
Revision 3 (Per Amundsen, 02/13/2023 05:10 PM) → Revision 4/5 (Per Amundsen, 02/13/2023 09:40 PM)
_Added in 4.4_ *<notextile>on <level>:CLOSING:<|@|*>:<commands></notextile>* Trigger when manually closing a custom window, using [[/halt]] cancels the closing. *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* <pre> on *:CLOSING:@window:echo -ag $target @window is closing, cancel the closing by halting | halt </pre>