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