Project

General

Profile

Aop » History » Version 4

Per Amundsen, 02/04/2020 10:06 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 4 Per Amundsen
_See also [[$aop]], [[/aop]], [[/avoice]], [[$protect]], [[$avoice]]._
10 3 Per Amundsen
11 1 Per Amundsen
*Switches*
12
13
-l - Prints all auto-op users.
14
-r - Removes a address from the auto-op list. (if no address is specified, clears the auto-op list)
15
-w - Indicate the auto-op should be enabled on all networks.
16
17
*Parameters*
18
19
on - Turns auto-op on.
20
off - Turns auto-op off.
21
address - The address or nick to add/remove from the auto-op list.
22
[#channel1,#channel2,...] - List of channels to auto-op in.
23
[type] - A number representing a [[$mask]] to use. (if user is not found in the internal address list, a lookup is performed)
24
[network] - The network to auto-op in.
25
26
*Example*
27
28
<pre>
29
; Adds 'nick!nick@42.42.42.42' to the auto-op list on the channel '#channel'
30
/aop nick!nick@42.42.42.42 #channel
31
32 2 Per Amundsen
; Adds 'nick!*@*' to the auto-op on any channel.
33 1 Per Amundsen
/aop nick
34
35 2 Per Amundsen
; Remove 'nick!nick@42.42.42.42' from the auto-op.
36 1 Per Amundsen
/aop -r nick!nick@42.42.42.42
37
38
</pre>