Merged silc_1_1_branch to trunk.
[silc.git] / apps / irssi / docs / help / in / cumode.in
index 8d6b9f55e2220d533967737f5a850fde36afa404..25beb9f39b633678dbb4558531cf4695f2b4855e 100644 (file)
@@ -1,14 +1,12 @@
 
 @SYNTAX:cumode@
 
-Format: <channel> +|-<modes> <nickname>[@<server>] [-pubkey|<passwd>]
-
-This command is used to manage the client's modes on the channel.
-Most of the modes require that the client which changes some
-client's mode must be channel founder or channel operator.  The
-mode is added by adding + before the option(s) and removed by
-adding - before the option(s).  The following channel user modes
-are available:
+ This command is used to manage the users modes on the channel.
+ Most of the modes require that the user which changes some
+ other user's mode must be channel founder or channel operator.
+ The mode is added by adding + before the option(s) and removed
+ by adding - before the option(s).  The following channel user
+ modes are available:
 
     a <nickname>[@<server>]
 
@@ -16,21 +14,74 @@ are available:
         both founder and operator rights, can be used
         only to remove both modes at once).
 
-    f <nickname>[@<server>] [-pubkey|<password>]
+    f <nickname>[@<server>]
+      [<pubkeyfile> <privkeyfile> [<privkey passphrase>]]
+
+        Set/Unset channel founder.  If you are channel
+        founder you can set the channel founder authentication
+        using the CMODE command.
 
-        Set/Unset channel founder.  If the -pubkey
-        option or <password> is provided then the
-        client is claiming the founder rights by
-        providing the channel founder authentication
-        data.  If the -pubkey is provided then the
-        authentication is performed using the
-        client's public key.  If you are channel
-        founder you can set the channel founder
-        authentication using CMODE command.
+        If the <pubkeyfile> and <privkeyfile> is
+        provided then the <pubkeyfile> will the used
+        as founder public key, and the private key
+        is used to compute a signature for the SILC
+        server.  If these are omitted then the default
+        SILC keypair is used.  Normally you do not need
+        to provide these arguments unless you want to use
+        different keypair for channel founder authentication.
 
     o <nickname>[@<server>]
 
-        Set/unset channel operator.  Requires that 
+        Set/unset channel operator.  Requires that
         you are channel operator or channel founder.
 
+    b <nickname>[@<server>]
+
+        Set/unset channel message blocking.  Client
+        may set this mode only to itself.  When set
+        the server will not send channel message to
+        to the client.  This mode can be used to block
+        unwanted messages if desired.
+
+    u <nickname>[@<server>]
+
+        Set/unset channel message blocking for messages
+        sent by normal users.  When set the server will
+        only deliver messages sent by channel founder or
+        channel operator.  Client may set this mode only
+        to itself.
+
+    r <nickname>[@<server>]
+
+        Set/unset channel message blocking for messages
+        sent by robots.  When set the server will not
+        deliver message from users that has been marked
+        as robots.  Client may set this mode only to
+        itself.
+
+    q <nickname>[@<server>]
+
+        Set/unset user as quiet.  When set the user cannot
+        talk on the channel, and cannot send messages to
+        the channel.  This can be used by channel operator
+        to quiet a certain misbehaving user.  The user cannot
+        unset this mode itself.  This mode cannot be set
+        or unset to yourself.
+
+Examples:
+
+  Become a founder (and operator) on the channel that you have
+  founded and have set the founder mode:
+
+    /CUMODE * +of yournick
+    /CUMODE channel_name +f yournick
+
+  Give operator privileges to your Friend on this channel:
+
+    /CUMODE * +o Friend
+
+  Quiet misbehaving user on your channel:
+
+    /CUMODE * +q lamer
+
 See also: CMODE, UMODE