Project

General

Profile

On ACTIVE » History » Version 6

Per Amundsen, 02/24/2017 09:41 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 6 Per Amundsen
<level> - The [[User Access Level]] for the event to trigger.
12 5 Per Amundsen
<*#?=!@~> - The [[Matchtarget]] to listen to.
13 1 Per Amundsen
<commands> - The commands to be performed when the event listener's criteria is met.
14
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>