Project

General

Profile

Aop » History » Version 7

Per Amundsen, 02/24/2023 08:21 PM

1 1 Per Amundsen
_Added in 3.1_
2
3
*/aop [-lrw] <on|off|nick|address> [#channel1,#channel2,...] [type] [network]*
4
5
Add/remove/list users from the auto-op list.
6
7 3 Per Amundsen
/aop with no parameters shows [[$true]] if auto-op is enabled, otherwise [[$false]].
8
9 7 Per Amundsen
_See also [[/aop]], [[$avoice]], [[/avoice]], [[$protect]], [[/protect]]._
10 3 Per Amundsen
11 1 Per Amundsen
*Switches*
12
13 5 Per Amundsen
table(ktable).
14
|*Switch*|*Description*|
15
| -l | Prints all auto-op users. |
16
| -r | Removes a address from the auto-op list. (if no address is specified, clears the auto-op list) |
17
| -w | Indicate the auto-op should be enabled on all networks. |
18 1 Per Amundsen
19
*Parameters*
20
21 5 Per Amundsen
table(ktable).
22
|*Parameter*|*Description*|
23
| on | Turns auto-op on. |
24
| off | Turns auto-op off. |
25
| address | The address or nick to add/remove from the auto-op list. |
26
| [#channel1,#channel2,...] | List of channels to auto-op in. |
27
| [type] | A number representing a [[$mask]] to use. (if user is not found in the internal address list, a lookup is performed) |
28
| [network] | The network to auto-op in. |
29 1 Per Amundsen
30
*Example*
31
32
<pre>
33
; Adds 'nick!nick@42.42.42.42' to the auto-op list on the channel '#channel'
34
/aop nick!nick@42.42.42.42 #channel
35
36 2 Per Amundsen
; Adds 'nick!*@*' to the auto-op on any channel.
37 1 Per Amundsen
/aop nick
38
39 2 Per Amundsen
; Remove 'nick!nick@42.42.42.42' from the auto-op.
40 1 Per Amundsen
/aop -r nick!nick@42.42.42.42
41
42
</pre>