Difference between revisions of "Protect"

From Scriptwiki
Jump to: navigation, search
 
m (tweaking)
Line 3: Line 3:
  
  
If you are on a channel and you have channel Op status, any users that match the nicknames in the protect list will be automatically protected. mIRC does this by kicking or de-opping anyone who tries to kick or de-op your protected users.  
+
If you are on a channel and you have channel Op status, any users that match the nicknames in the protect list will be automatically protected. mIRC does this by kicking or de-opping anyone who tries to kick or de-op your protected users. Note that you can't actually prevent deopping/kicking, your mIRC just 'revenges' the deop/kick and ops the user again if he got deoped.
  
To turn protection on, use ''/protect on'', to turn it off ''/protect off''.
+
To turn the whole protection system on, use ''/protect on'', to turn it off ''/protect off''.
  
  
Line 32: Line 32:
  
 
  protect Dana 2
 
  protect Dana 2
If you use this command, you would protect a user with the address ''*!*@staff.quakenet.org'' in every channel you are operator.  
+
If you use this command, you would protect any user with the address ''*!*@staff.quakenet.org'' (as that's Dana's address) in every channel you are operator.  
 
== See Also ==
 
== See Also ==
 
Take a look at [[$protect]] to receive information about your protection list.
 
Take a look at [[$protect]] to receive information about your protection list.
 
[[Category:Control]]
 
[[Category:Control]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Revision as of 15:20, 27 February 2006

Adds or removes an address/nick to/from your protect list.

/aop [-rw] <on|off|nick/address> [#channel1,#channel2,...] [type] [network]


If you are on a channel and you have channel Op status, any users that match the nicknames in the protect list will be automatically protected. mIRC does this by kicking or de-opping anyone who tries to kick or de-op your protected users. Note that you can't actually prevent deopping/kicking, your mIRC just 'revenges' the deop/kick and ops the user again if he got deoped.

To turn the whole protection system on, use /protect on, to turn it off /protect off.


You can use the following switches:

Switch Meaning
r removes someone from the protection list
w makes the protection apply to every network

If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server.


Example

protect Dana!dana@staff.quakenet.org #help.script

This would protect Dana in #help.script.


protect -r Dana!dana@staff.quakenet.org

This example would remove Dana from your protection list.


protect Dana 2

If you use this command, you would protect any user with the address *!*@staff.quakenet.org (as that's Dana's address) in every channel you are operator.

See Also

Take a look at $protect to receive information about your protection list.