e4cf6b4cddf93df9b84ef12a1d8d41a09205a664
[silc.git] / apps / irssi / docs / help / in / cmode.in
1
2 @SYNTAX:cmode@
3
4 This command is used to manage the modes of the channel.  Most
5 of the modes require special privileges, such as channel operator
6 or channel founder privileges to work.  The mode is added by
7 adding + before the option(s) and removed by adding - before the
8 option(s).  The (*) mark below means that only founder may set/unset
9 that mode.  Other modes both channel operator and founder may manage.
10
11 The following modes are available:
12
13     p               Set/unset channel as private channel
14     s               Set/unset channel as secret channel
15     k               Enable/disable channel private key usage (*)
16     i               Set/unset channel as invite only channel
17     t               Set/unset that only channel operator or 
18                     founder may set channel topic
19     m               Set/unset user silencing.  Normal users
20                     are not able to talk on channel. (*)
21     M               Set/unset operator silencing.  Operators
22                     are not able to talk on channel. (*)
23     l <limit>       Set/unset channel's user limit
24     a <passphrase>  Set/unset passphrase for channel that must
25                     be provided when joining to the channel. (*)
26     c <cipher>      Set/unset channel's cipher (*)
27     h <hmac>        Set/unset channel's hmac (*)
28     f [<pubkeyfile> <privkeyfile> [<privkey passphrase>]]
29                     Set/unset channel founder authentication. (*)
30                     Channel founder may set this mode so that
31                     if the client leaves the channel it can
32                     claim the founder rights when it returns
33                     to the channel, and to set the channel to
34                     be permanent channel.  You can claim the
35                     founder rights using CUMODE or JOIN commands.
36
37                     If the <pubkeyfile> and <privkeyfile> is
38                     provided then the <pubkeyfile> will the used
39                     as founder public key, and the private key
40                     is used to compute a signature for the SILC
41                     server.  If these are omitted then the default
42                     SILC keypair is used.  Normally you do not need
43                     to provide these arguments.
44
45 Multiple modes can be set/unset at once if the modes does not
46 require any arguments.  If mode requires an argument then only
47 one mode can be set at once.
48
49 When the +k (channel private key mode) mode is set the channel's
50 default cipher and HMAC are not used.  The private key (see /HELP KEY
51 for help how to set the private key) defines the cipher and HMAC for
52 the channel while +k mode is set.  Also the +c and +h modes are ignored
53 when channel private key is set.
54
55 See also: CUMODE, UMODE, JOIN, KEY