Project

General

Profile

On ACTIVE » History » Revision 3

Revision 2 (Per Amundsen, 11/14/2015 01:29 PM) → Revision 3/8 (Per Amundsen, 11/16/2015 04:23 AM)

_Added in 1.9.0_ 

 *<notextile>on <level>:ACTIVE:<*#?=!@>:<commands></notextile>* 

 Triggers when a window in AdiIRC is activated or when its active status changes. 

 _See See also [[on APPACTIVE]], [[$active]], [[$lactive]], [[$activecid]], [[$lactivecid]], [[$activewid]], [[$lactivewid]]._ [[$lactivewid]]. 

 *Parameters* 

 <level> - The level for the event to trigger. 
 <*#?=!@> - The [[Matchtarget]] to listen to. 
 <commands> - The commands to be performed when the event listener's criteria is met. 

 *Example* 

 <pre> 
 ; Listen to ACTIVE event, print new active window and previously active window. 
 on *:ACTIVE:*:echo Activated: $active De-Activated: $lactive 
 </pre>