Project

General

Profile

$aop » History » Revision 2

Revision 1 (Per Amundsen, 04/22/2018 05:29 PM) → Revision 2/4 (Per Amundsen, 04/22/2018 05:30 PM)

_Added in 3.1_ 

 *$aop* 

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

 _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* 

 <pre> 
 ; 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) 
 </pre>