imported irssi.
[silc.git] / apps / irssi / docs / help / in / ban.in
diff --git a/apps/irssi/docs/help/in/ban.in b/apps/irssi/docs/help/in/ban.in
new file mode 100644 (file)
index 0000000..4f8a541
--- /dev/null
@@ -0,0 +1,24 @@
+
+@SYNTAX:ban@
+
+Bans the specified nick or userhost mask.
+
+If nick is given as parameter, the ban type is used to generate the ban
+mask. /SET ban_type specified the default ban type. Ban type is one of
+the following:
+
+    Normal - *!user@*.domain.net
+    Host   - *!*@host.domain.net
+    Domain - *!*@*.domain.net
+    Custom [nick] [user] [host] [domain]
+
+Examples:
+    /BAN looser    - This bans the nick 'looser'
+    /BAN *!*@*.org - This bans all the users coming from any 
+                     .org domain.
+
+    /SET ban_type custom nick domain - nick!*@*.domain.net
+    /SET ban_type custom user host   - *!user@host.domain.net
+
+See also: KNOCKOUT, KICKBAN
+