Project

General

Profile

$aop » History » Version 1

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

1 1 Per Amundsen
_Added in 3.1_
2
3
*$aop*
4
5
Returns [[$true]] if auto-op is enabled, otherwise [[$false]].
6
7
-----------------------------------------------------------------------------
8
9
*$aop(address|N)*
10
11
Returns any matching address in the auto-op 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-op list.
27
//echo -g Auto op for nick!ident@host was $iif($aop(nick!ident@host), found, not found)
28
</pre>