Project

General

Profile

$aop » History » Version 3

Per Amundsen, 04/22/2018 05:38 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 3 Per Amundsen
_Same as [[$auto]], see also [[/aop]]._
8 2 Per Amundsen
9 1 Per Amundsen
-----------------------------------------------------------------------------
10
11
*$aop(address|N)*
12
13
Returns any matching address in the auto-op list, or the Nth address.
14
15
*Parameters*
16
17
address - Address to match.
18
N - If N = 0, number of addresses, otherwise the Nth address.
19
20
*Properties*
21
22
.type - Returns the list of channels for this address.
23
.network - Returns the network name for this address.
24
25
*Example*
26
27
<pre>
28
; Check if 'nick!ident@host' is in the auto-op list.
29
//echo -g Auto op for nick!ident@host was $iif($aop(nick!ident@host), found, not found)
30
</pre>