Project

General

Profile

Aop » History » Revision 9

Revision 8 (Per Amundsen, 02/24/2023 08:22 PM) → Revision 9/10 (Per Amundsen, 02/24/2023 08:23 PM)

_Added in 3.1_ 

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

 Add/remove/list users from the [[Addressbook_Dialog_Control|auto-op]] list. 

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

 _See also [[$aop]], [[/aop]], [[$avoice]], [[/avoice]], [[$protect]], [[/protect]]._ 

 *Switches* 

 table(ktable). 
 |*Switch*|*Description*| 
 | -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* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | 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>