Difference between revisions of "Mlock"

From Chat4AllFAQ
Jump to: navigation, search
m
m
Line 6: Line 6:
 
Syntax:
 
Syntax:
 
   /msg ChanServ SET #channel MLOCK modes
 
   /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
+
Where modes have to be replaced by the modes you want to be either locked on or of, for example ntS-lips
  
 
e.g.
 
e.g.
   /msg ChanServ SET #channel MLOCK +ntk myKey
+
   /msg ChanServ SET #channel MLOCK ntk myKey
 
to lock the modes n, t and k with key myKey.<br />
 
to lock the modes n, t 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, 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.:
  
   /msg ChanServ SET #channel MLOCK +
+
   /msg ChanServ SET #channel MLOCK
 
to unset all MLOCK modes
 
to unset all MLOCK modes
  
 
or:
 
or:
   /msg ChanServ SET #channel MLOCK +nt
+
   /msg ChanServ SET #channel MLOCK nt
 
to set the default MLOCK modes.
 
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:
+
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
 
   /msg ChanServ SET #channel MLOCK -s
  

Revision as of 19:43, 6 June 2007

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  ntk myKey

to lock the modes n, t and k with key myKey.
(n = no external messages, t = only operators may change topics, 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)