Project

General

Profile

Actions

On CLOSING » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Per Amundsen, 02/13/2023 05:09 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, prevent the close by halting | halt

Updated by Per Amundsen over 1 year ago · 2 revisions

Also available in: PDF HTML TXT