Project

General

Profile

Aop » History » Revision 4

Revision 3 (Per Amundsen, 02/04/2020 09:03 PM) → Revision 4/10 (Per Amundsen, 02/04/2020 10:06 PM)

_Added in 3.1_ 

 */aop [-lrw] <on|off|nick|address> [#channel1,#channel2,...] [type] [network]* 

 Add/remove/list users from the auto-op list. 

 /aop with no parameters shows [[$true]] if auto-op is enabled, otherwise [[$false]]. 

 _See also [[$aop]], [[/aop]], [[/avoice]], [[$protect]], [[$avoice]]._ _If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server._ 

 *Switches* 

 -l - Prints all auto-op users. 
 -r - Removes a address from the auto-op list. (if no address is specified, clears the auto-op list) 
 -w - Indicate the auto-op should be enabled on all networks. 

 *Parameters* 

 on - Turns auto-op on. 
 off - Turns auto-op off. 
 address - The address or nick to add/remove from the auto-op list. 
 [#channel1,#channel2,...] - List of channels to auto-op in. 
 [type] - A number representing a [[$mask]] to use. (if user is not found in the internal address list, a lookup is performed) 
 [network] - The network to auto-op in. 

 *Example* 

 <pre> 
 ; Adds 'nick!nick@42.42.42.42' to the auto-op list on the channel '#channel' 
 /aop nick!nick@42.42.42.42 #channel 

 ; Adds 'nick!*@*' to the auto-op on any channel. 
 /aop nick 

 ; Remove 'nick!nick@42.42.42.42' from the auto-op. 
 /aop -r nick!nick@42.42.42.42 

 </pre>