Project

General

Profile

Added in 3.1

$aop

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

Same as $auto, see also /aop.


$aop(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($aop(nick!ident@host), found, not found)

Updated by Per Amundsen 2 months ago · 3 revisions

Also available in: PDF HTML TXT