$window

Retrieve the id of a specified window.
Syntax

$window
$window(<caption text>)

Description
Returns the window id of the first window that has the specified <caption text>.
If no window matches the specified <caption text>, and invalid window id is returned (0).
If no <caption text> is specified , this function returns the id of the current window.
Examples
            
                 echo This is the window with id $window
            
See also
$channel,             $query, $console, Window naming conventions

KVIrc 3.0.0 Documentation
Generated by dag at Wed Jul 7 23:12:51 2004