Protect » History » Version 1
Per Amundsen, 02/04/2020 10:05 PM
1 | 1 | Per Amundsen | _Added in 3.8_ |
---|---|---|---|
2 | |||
3 | */protect [-lrw] <on|off|nick|address> [#channel1,#channel2,...] [type] [network]* |
||
4 | |||
5 | dd/remove/list users from the protect list. |
||
6 | |||
7 | /protect with no parameters shows [[$true]] if protect is enabled, otherwise [[$false]]. |
||
8 | |||
9 | _See also [[$protext]], [[/aop]], [[/avoice]], [[$aop]], [[$avoice]]._ |
||
10 | |||
11 | *Switches* |
||
12 | |||
13 | -l - Prints all protect users. |
||
14 | -r - Removes a address from the protect list. (if no address is specified, clears the protect list) |
||
15 | -w - Indicate the protect should be enabled on all networks. |
||
16 | |||
17 | *Parameters* |
||
18 | |||
19 | on - Turns protect on. |
||
20 | off - Turns protect off. |
||
21 | address - The address or nick to add/remove from the protect list. |
||
22 | [#channel1,#channel2,...] - List of channels to protect 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 protect in. |
||
25 | |||
26 | *Example* |
||
27 | |||
28 | <pre> |
||
29 | ; Adds 'nick!nick@42.42.42.42' to the protect list on the channel '#channel' |
||
30 | /protect nick!nick@42.42.42.42 #channel |
||
31 | |||
32 | ; Adds 'nick!*@*' to the protect list on any channel. |
||
33 | /protect nick |
||
34 | |||
35 | ; Remove 'nick!nick@42.42.42.42' from the protect list. |
||
36 | /protect -r nick!nick@42.42.42.42 |
||
37 | |||
38 | </pre> |