Retrieves the window ID of the active window
$active[(<irc context id:integer>)]
Returns the window ID of the active window bound to the IRC context specified by <irc context id>. If no window matches the specified IRC context, and invalid window ID is returned (0).
If no <irc context id> is specified, then the application active window is returned (the window that currently has the input focus). Note that in this case the returned window may also belong to another IRC context or be not bound to any IRC context at all. In some extreme cases you may even get a window that has no output widget and thus has its output redirected. Using the "global" active window should be used only for communicating something REALLY urgent (and maybe unrelated to a specific IRC connection) to the user.
Syntax Specification
<integer> $active[(<irc context id:integer>)]
See also

Index, Functions
KVIrc 3.9.99 Documentation
Generated by root at Wed Oct 17 19:34:06 2007