Project

General

Profile

On CLOSING » History » Version 3

Per Amundsen, 02/13/2023 05:10 PM

1 1 Per Amundsen
_Added in 4.4_
2
3
*<notextile>on <level>:CLOSING:<|@|*>:<commands></notextile>*
4
5 3 Per Amundsen
Trigger when manually closing a custom window, using [[/halt]] cancels the closing.
6 1 Per Amundsen
7
*Parameters*
8
9
&lt;level&gt; - The [[User Access Level]] for the event to trigger.
10
&lt;@|*&gt; - The [[Matchtarget]] to listen to.
11
&lt;commands&gt; - The commands to be performed when the event listener's criteria is met.
12
13
*Example*
14
15
<pre>
16 3 Per Amundsen
on *:CLOSING:@window:echo -ag @window is closing, cancel the closing by halting | halt
17 1 Per Amundsen
</pre>