Difference between revisions of "Mlock"

From Chat4AllFAQ
Jump to: navigation, search
m (Reverted edit of ZuaAdd, changed back to last version by FiXato)
m (Added +s to the example mlock)
Line 9: Line 9:
  
 
e.g.
 
e.g.
   /msg ChanServ SET #channel MLOCK +ntk myKey
+
   /msg ChanServ SET #channel MLOCK +ntsk myKey
to lock the modes n, t and k with key myKey.<br />
+
to lock the modes n, t, s and k with key myKey.<br />
''(n = no external messages, t = only operators may change topics, k = key)''
+
''(n = no external messages, t = only operators may change topics, s = secret, k = key)''
 
to remove the mlocks, just do the command again without parameters or limited parameters, e.g.:
 
to remove the mlocks, just do the command again without parameters or limited parameters, e.g.:
  

Revision as of 10:23, 24 May 2010

Using ChanServ's MLOCK:

 <@FiXato-AFK> ? mlock
 * [WatchdoG:#help] mlock == Sets the mode-lock parameter for the channel. 
 ChanServ allows you to define certain channel modes to be always on, off or free to be either on or off.

Syntax:

 /msg ChanServ SET #channel MLOCK modes

Where modes have to be replaced by the modes you want to be either locked on or of, for example +ntS-lips

e.g.

 /msg ChanServ SET #channel MLOCK +ntsk myKey

to lock the modes n, t, s and k with key myKey.
(n = no external messages, t = only operators may change topics, s = secret, k = key) to remove the mlocks, just do the command again without parameters or limited parameters, e.g.:

 /msg ChanServ SET #channel MLOCK +

to unset all MLOCK modes

or:

 /msg ChanServ SET #channel MLOCK +nt

to set the default MLOCK modes.

You can also force modes not to be allowed on your channel by using a - sign instead of a + sign:

 /msg ChanServ SET #channel MLOCK -s

won't allow the channel to be set to secret mode.

Created: FiXato 14:50, 3 May 2006 (CEST)
Last Modified: FiXato 14:55, 3 May 2006 (CEST)