Aop » History » Revision 6
Revision 5 (Per Amundsen, 02/15/2023 11:02 AM) → Revision 6/10 (Per Amundsen, 02/24/2023 08:21 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]], [[$protect]], [[$avoice]]._
*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>