Project

General

Profile

Actions

Added in 1.9.0

$query(nick|N)

Returns the nickname of the Nth open query window.

Parameters

Parameter Description
nick|N A nick or If N = 0 number of open query windows, otherwise the Nth open query window.

Properties

Property Description
.addr Users address in the form ident@host.
.logfile Logfile associated with this query window.
.stamp $true if /timestamp is enabled for this query window, otherwise $false.
.wid Window id associated with this query window.
.cid Connection id associated with this query window.
.hwnd Window handle.
.idle Number of seconds since there last was activity in this window.

Example

; Open a query window.
/query Example

; Print number of open query windows.
//echo -ag Number of open querys $query(0)

; Print information about the 'Example' query window.
//echo -ag $query(Example) address is $query(Example).addr

Updated by Per Amundsen almost 2 years ago · 2 revisions

Also available in: PDF HTML TXT