Merged from silc_1_0_branch.
[silc.git] / apps / irssi / docs / help / in / ban.in
index 62c0c0d10dffc3a5d8803d3fe77f4bc78e31f07d..f6b7496aa9e3f36dbf889949ba5d382264f020d7 100644 (file)
@@ -1,16 +1,17 @@
 
 @SYNTAX:ban@
 
-Format: <channel> [+|-[<nickname>[@<server>[!<username>[@hostname>]]]]]
+This command is used to manage the ban list of the channel.
+You must be channel operator to be able to use this command.
+Wildcards may be used with this command.
 
-This command is used to manage the ban list of the channel.  You must be
-channel operator to be able to use this command.  Wildcards may be used
-with this command.
+In ban list it is possible to add nicknames, server name, username,
+hostname or netmask (IP/MASK), and public keys.
 
 Examples:
     /BAN #mychannel +foobar!mr.bar@foo.bar.com
-        Adds nickname `foobar' with username `mr.bar' from host `foo.bar.com'
-        on #mychannel to the ban list.
+        Adds nickname `foobar' with username `mr.bar' from host
+        `foo.bar.com' on #mychannel to the ban list.
 
     /BAN * +looser
         Adds nickname `looser' to the ban list on current channel.
@@ -19,11 +20,16 @@ Examples:
         Adds foo* nicknames from any server with any username from
         *.foobar.com hosts to the ban list on current channel.
 
+    /BAN * +/path/to/public_key.pub
+        Adds the public key from file /path/to/public_key.pub to
+        ban list of the current channel.
+
     /BAN * -looser
-        Removes the nickname `looser' from the ban list on current channel.
+        Removes the nickname `looser' from the ban list on current
+        channel.
 
     /BAN *
         Shows the ban list of the current channel.
 
-See also: KNOCKOUT, KICKBAN
+See also: KICK