_Added in 1.9.0_
*on :ACTIVE:<*#?=!@>:*
Triggers when a window in AdiIRC is activated or when its active status changes.
See also [[$active]], [[$lactive]], [[$activecid]], [[$lactivecid]], [[$activewid]], [[$lactivewid]].
*Parameters*
- The level for the event to trigger.
<*#?=!@> - The [[Matchtarget]] to listen to.
- The commands to be performed when the event listener's criteria is met.
*Example*
; Listen to ACTIVE event, print new active window and previously active window.
on *:ACTIVE:*:echo Activated: $active De-Activated: $lactive