Project

General

Profile

Actions

On CLOSING » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Per Amundsen, 02/13/2023 05:10 PM


Added in 4.4

on <level>:CLOSING:<|@|*>:<commands>

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

on *:CLOSING:@window:echo -ag @window is closing, cancel the closing by halting | halt

Updated by Per Amundsen about 1 year ago · 3 revisions

Also available in: PDF HTML TXT