Project

General

Profile

Protect » History » Revision 2

Revision 1 (Per Amundsen, 02/04/2020 10:05 PM) → Revision 2/6 (Per Amundsen, 02/04/2020 10:05 PM)

_Added in 3.8_ 

 */protect [-lrw] <on|off|nick|address> [#channel1,#channel2,...] [type] [network]* 

 dd/remove/list users from the protect list. 

 /protect with no parameters shows [[$true]] if protect is enabled, otherwise [[$false]]. 

 _See also [[$protect]], [[$protext]], [[/aop]], [[/avoice]], [[$aop]], [[$avoice]]._ 

 *Switches* 

 -l - Prints all protect users. 
 -r - Removes a address from the protect list. (if no address is specified, clears the protect list) 
 -w - Indicate the protect should be enabled on all networks. 

 *Parameters* 

 on - Turns protect on. 
 off - Turns protect off. 
 address - The address or nick to add/remove from the protect list. 
 [#channel1,#channel2,...] - List of channels to protect 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 protect in. 

 *Example* 

 <pre> 
 ; Adds 'nick!nick@42.42.42.42' to the protect list on the channel '#channel' 
 /protect nick!nick@42.42.42.42 #channel 

 ; Adds 'nick!*@*' to the protect list on any channel. 
 /protect nick 

 ; Remove 'nick!nick@42.42.42.42' from the protect list. 
 /protect -r nick!nick@42.42.42.42 

 </pre>