Project

General

Profile

Actions

$avoice » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Per Amundsen, 04/22/2018 05:30 PM


Added in 3.1

$avoice

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

See also /avoice.


$avoice(address|N)

Returns any matching address in the auto-voice 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-voice list.
//echo -g Auto voice for nick!ident@host was $iif($avoice(nick!ident@host), found, not found)

Updated by Per Amundsen over 6 years ago · 2 revisions

Also available in: PDF HTML TXT