Project

General

Profile

On ACTIVE » History » Version 7

Per Amundsen, 07/28/2018 09:30 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 4 Per Amundsen
*<notextile>on <level>:ACTIVE:<*#?=!@~>:<commands></notextile>*
4 1 Per Amundsen
5
Triggers when a window in AdiIRC is activated or when its active status changes.
6
7 3 Per Amundsen
_See also [[on APPACTIVE]], [[$active]], [[$lactive]], [[$activecid]], [[$lactivecid]], [[$activewid]], [[$lactivewid]]._
8 1 Per Amundsen
9
*Parameters*
10
11 7 Per Amundsen
&lt;level&gt; - The [[User Access Level]] for the event to trigger.
12
&lt;*#?=!@~&gt; - The [[Matchtarget]] to listen to.
13
&lt;commands&gt; - The commands to be performed when the event listener's criteria is met.
14 1 Per Amundsen
15
*Example*
16
17
<pre>
18
; Listen to ACTIVE event, print new active window and previously active window.
19
on *:ACTIVE:*:echo Activated: $active De-Activated: $lactive
20
</pre>