Project

General

Profile

On ACTIVE » History » Version 1

Per Amundsen, 11/14/2015 01:28 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*<notextile>on <level>:ACTIVE:<*#?=!@>:<commands></notextile>*
4
5
Triggers when a window in AdiIRC is activated or when its active status changes.
6
7
See also [[$active]], [[$lactive]], [[$activecid]], [[$lactivecid]], [[$activewid]], [[$lactivewid]].
8
9
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<*#?=!@> - The [[Matchtarget]] to listen to.
13
<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>