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