$query » History » Revision 1
Revision 1/2
| Next »
Per Amundsen, 08/11/2015 06:03 AM
Added in 1.9.0
$query(nick|N)
Returns the nickname of the Nth open query window.
Parameters
nick|N - A nick or If N = 0 number of open query windows, otherwise the Nth open query window.
Properties
.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 over 9 years ago · 1 revisions