Difference between revisions of "On appactive"

From Scriptwiki
Jump to: navigation, search
 
m
 
Line 9: Line 9:
  
 
== See Also ==
 
== See Also ==
Take a look at the [[On_active|On active event]] to react whenever mIRC's active window has changed.
+
* [[On_active|On active event]] to react whenever mIRC's active window has changed.
  
 
[[Category:Events]]
 
[[Category:Events]]

Latest revision as of 10:49, 2 July 2007

The on APPACTIVE events trigger when mIRC's active status changes.

on <level>:APPACTIVE:<commands>

This event triggers whenever mIRC's active status has changed. The $appactive identifier returns $true if mIRC is active, or $false if it isn't.

Example

on *:APPACTIVE: { echo -a mIRC active status: $appactive }

This example triggers whenever mIRC's active stats has changed and echos the new status to the active window.

See Also