Project

General

Profile

Actions

Added in 4.4

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

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

Updated by Per Amundsen about 1 year ago · 5 revisions

Also available in: PDF HTML TXT