Project

General

Profile

$avoice » History » Version 1

Per Amundsen, 04/22/2018 05:30 PM

1 1 Per Amundsen
_Added in 3.1_
2
3
*$avoice*
4
5
Returns [[$true]] if auto-voice is enabled, otherwise [[$false]].
6
7
-----------------------------------------------------------------------------
8
9
*$avoice(address|N)*
10
11
Returns any matching address in the auto-voice list, or the Nth address.
12
13
*Parameters*
14
15
address - Address to match.
16
N - If N = 0, number of addresses, otherwise the Nth address.
17
18
*Properties*
19
20
.type - Returns the list of channels for this address.
21
.network - Returns the network name for this address.
22
23
*Example*
24
25
<pre>
26
; Check if 'nick!ident@host' is in the auto-voice list.
27
//echo -g Auto voice for nick!ident@host was $iif($avoice(nick!ident@host), found, not found)
28
</pre>