]> arthur.barton.de Git - ngircd-alex.git/blobdiff - doc/Commands.txt
Xcode: add missing files in src/testsuite, and sort them
[ngircd-alex.git] / doc / Commands.txt
index e049f5ef88f2e3434d6cbe00995db70f0bbfe7b0..0accc5c29d81c02369f53c244b4686cb13b1f0c9 100644 (file)
@@ -2,7 +2,7 @@
                      ngIRCd - Next Generation IRC Server
                            http://ngircd.barton.de/
 
-               (c)2001-2013 Alexander Barton and Contributors.
+               (c)2001-2019 Alexander Barton and Contributors.
                ngIRCd is free software and published under the
                    terms of the GNU General Public License.
 
@@ -78,7 +78,7 @@ Connection Handling Commands
        like this: "CAP REQ :capability1 capability2 capability3" for example.
 
        References:
-        - <http://ircv3.atheme.org/specification/capability-negotiation-3.1>
+        - <http://ircv3.net/specs/core/capability-negotiation-3.1.html>
         - <http://ngircd.barton.de/doc/Capabilities.txt>
         - doc/Capabilities.txt
 
@@ -324,7 +324,7 @@ General Commands
        In addition, IRC Ops can use these two forms to specify the <target>:
        .
         - #<hostmask>
-        - #<servermask>
+        - $<servermask>
        .
        The <mask> can contain the wildcard characters "*" and "?", but must
        contain at least one dot (".") and no wildcard after the last one.
@@ -380,13 +380,13 @@ Status and Informational Commands
 
        Please note that "all" IRC daemons even parse separate nicknames in
        a single parameter (like ":nick1 nick2"), and therefore ngIRCd
-       implements this behaviour, too.
+       implements this behavior, too.
 
        References:
         - RFC 2812, 4.9 "Ison message"
 
 - LINKS
-       LINKS [[<target>] [<mask>]
+       LINKS [[<target>] <mask>]
        .
        List all servers currently registered in the network matching <mask>,
        or all servers if <mask> has been omitted, as seen by the server
@@ -451,17 +451,21 @@ Status and Informational Commands
        Show statistics and other information of type <query> of a particular
        IRC server in the network.
        .
-       The following <query> types are supported (case-insensitive):
+       The following <query> types are supported (case-insensitive where
+       applicable):
        .
         - g  Network-wide bans ("G-Lines").
         - k  Server-local bans ("K-Lines").
-        - l  Link status (parent server and own link only).
+        - L  Link status (servers and user links).
+        - l  Link status (servers and own link).
         - m  Command usage count.
         - u  Server uptime.
        .
        <target> can be a server name, the nickname of a client connected to
        a specific server, or a mask matching a server name in the network.
        The server of the current connection is used when <target> is omitted.
+       .
+       To use "STATS L" the user must be an IRC Operator.
 
        References:
         - RFC 2812, 3.4.4 "Stats message"
@@ -613,9 +617,10 @@ Channel Commands
         - RFC 2812, 3.2.8 "Kick command"
 
 - LIST
-       LIST [<channel>[,<channel>[,...]] [<server>]]
+       LIST [<mask>[,<mask>[,...]] [<server>]]
        .
-       List all visible <channels> (comma-separated list).
+       List all visible channels matching the <mask> (comma-separated list),
+       or all channels when no <mask> was specified.
        .
        If <server> is given, the command will be forwarded to <server> for
        evaluation.
@@ -668,10 +673,13 @@ Administrative Commands
         - RFC 2812, 3.4.7 "Connect message"
 
 - DIE
-       DIE
+       DIE [<message>]
        .
        Instructs the server to shut down.
        .
+       The optional (and non-standard) <message> text is sent to each client
+       connected to this server before all connections are closed.
+       .
        To use this command, the user must be an IRC Operator.
 
        References:
@@ -875,7 +883,7 @@ Server Protocol Commands
 - ERROR
        ERROR [<message> [<> [...]]]
        .
-       Inform a client or a server about an error condition. The first 
+       Inform a client or a server about an error condition. The first
        parameter, if given, is logged by the server receiving the message,
        all other parameters are silently ignored.
        .