Project

General

Profile

Actions

$auto » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 04/22/2018 05:38 PM


Added in 3.1

$auto

Returns $true if auto-op is enabled, otherwise $false.

Same as $aop, see also /aop.


$auto(address|N)

Returns any matching address in the auto-op list, or the Nth address.

Parameters

address - Address to match.
N - If N = 0, number of addresses, otherwise the Nth address.

Properties

.type - Returns the list of channels for this address.
.network - Returns the network name for this address.

Example

; Check if 'nick!ident@host' is in the auto-op list.
//echo -g Auto op for nick!ident@host was $iif($auto(nick!ident@host), found, not found)

Updated by Per Amundsen about 6 years ago · 1 revisions

Also available in: PDF HTML TXT