]> arthur.barton.de Git - ngircd-alex.git/blob - doc/Commands.txt
Commands.txt: Streamline references to IRC+ protocol
[ngircd-alex.git] / doc / Commands.txt
1
2                      ngIRCd - Next Generation IRC Server
3                            http://ngircd.barton.de/
4
5                (c)2001-2013 Alexander Barton and Contributors.
6                ngIRCd is free software and published under the
7                    terms of the GNU General Public License.
8
9                               -- Commands.txt --
10
11
12 This file lists all commands available on ngIRCd. It is written in a format
13 that is human readable as well as machine parseable and therefore can be used
14 as "help text file" of the daemon.
15
16 In short, the daemon reads this file on startup and parses it as following
17 when an user issues a "HELP <cmd>" command:
18
19  1. Search the file for a line "- <cmd>",
20  2. Output all subsequent lines that start with a TAB (ASCII 9) character
21     to the client using NOTICE commands, treat lines containing a single "."
22     after the TAB as empty lines.
23  3. Break at the first line not starting with a TAB character.
24
25 This format allows to have information to each command stored in this file
26 which will not be sent to an IRC user requesting help which enables us to
27 have additional annotations stored here which further describe the origin,
28 implementation details, or limits of the specific command which are not
29 relevant to an end-user but administrators and developers.
30
31 A special "Intro" block is returned to the user when the HELP command is
32 used without a command name:
33
34
35 - Intro
36         This is ngIRCd, a server software for Internet Relay Chat (IRC)
37         networks. You can find more information about ngIRCd on its homepage:
38                 <http://ngircd.barton.de>
39         .
40         Use "HELP COMMANDS" to get a list of all available commands and
41         "HELP <command-name>" to get help for a specific IRC command, for
42         example "HELP quit" or "HELP privmsg".
43
44
45 Connection Handling Commands
46 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47
48 - CAP
49         CAP LS
50         CAP LIST
51         CAP REQ <capabilities>
52         CAP ACK <capabilities>
53         CAP NAK <capabilities>
54         CAP CLEAR
55         CAP END
56         .
57         List, request, and clear "IRC Capabilities".
58         .
59         Using this command, an IRC client can request additional "IRC
60         capabilities" during login or later on, which influences the
61         communication between server and client. Normally, these commands
62         aren't directly used by humans, but automatically by their client
63         software. And please note that issuing such commands manually can
64         irritate the client software used, because of the "non-standard"
65         behavior of the server!
66         .
67         - CAP LS: list all available capabilities.
68         - CAP LIST: list active capabilities of this connection.
69         - CAP REQ: Request particular capabilities.
70         - CAP ACK: Acknowledge a set of capabilities to be enabled/disabled.
71         - CAP NAK: Reject a set of capabilities.
72         - CAP CLEAR: Clear all set capabilities.
73         - CAP END: Indicate end of capability negotiation during login,
74           ignored in an fully registered session.
75
76         Please note that the <capabilities> must be given in a single
77         parameter but whitespace separated, therefore a command could look
78         like this: "CAP REQ :capability1 capability2 capability3" for example.
79
80         References:
81          - <http://ircv3.atheme.org/specification/capability-negotiation-3.1>
82          - <http://ngircd.barton.de/doc/Capabilities.txt>
83          - doc/Capabilities.txt
84
85 - CHARCONV
86         CHARCONV <client-charset>
87         .
88         Set client character set encoding to <client-charset>.
89         .
90         After receiving such a command, the server translates all message
91         data received from the client using the set <client-charset> to the
92         server encoding (UTF-8), and all message data which is to be sent to
93         the client from the server encoding (UTF-8) to <client-charset>.
94         .
95         This enables older clients and clients using "strange" character sets
96         to transparently participate in channels and direct messages to
97         clients using UTF-8, which should be the default today.
98
99         References:
100          - IRC+, <http://ngircd.barton.de/doc/Protocol.txt>
101          - IRC+, doc/Protocol.txt
102
103 - NICK
104         NICK <nickname>
105         NICK <nickname> [<hops>]
106         NICK <nickname> <hops> <username> <host> <servertoken> <usermodes> <realname>
107         .
108         Set or change the <nickname> of a client (first form) and register
109         remote clients (second and third form; servers only).
110
111         References:
112          - RFC 1459, 4.1.2 "Nick message" (old client and server protocol)
113          - RFC 2812, 3.1.2 "Nick message" (client protocol)
114          - RFC 2813, 4.1.3 "Nick" (server protocol)
115
116 - PASS
117         PASS <password>
118         PASS <password> <version> <flags> [<options>]
119         .
120         Set a connection <password>. This command must be the first command
121         sent to the server, even before the NICK/USER or SERVER commands.
122         .
123         The first form is used by user sessions or (old) RFC 1459 servers,
124         the second form is used by RFC 2812 or IRC+ compliant servers and
125         enables the server to indicate its version and supported protocol
126         features.
127
128         References:
129          - RFC 1459, 4.1.1 "Password message" (old client and server protocol)
130          - RFC 2812, 3.1.1 "Password message" (client protocol)
131          - RFC 2813, 4.1.1 "Password message" (server protocol)
132          - IRC+, <http://ngircd.barton.de/doc/Protocol.txt>
133          - IRC+, doc/Protocol.txt
134
135 - PING
136         PING <token> [<target>]
137         .
138         Tests the presence of a connection to a client or server.
139         .
140         If no <target> has been given, the local server is used. User clients
141         can only use other servers as <target>, no user clients.
142         .
143         A PING message results in a PONG reply containing the <token>, which
144         can be arbitrary text.
145
146         Please note:
147         The RFCs state that the <token> parameter is used to specify the
148         origin of the PING command when forwared in the network, but this
149         is not the case: the sender is specified using the prefix as usual,
150         and the parameter is used to identify the PONG reply in practice.
151
152         References:
153          - RFC 2812, 3.7.2 "Ping message"
154
155 - PONG
156         PONG <target> [<token>]
157         .
158         Reply to a "PING" command, indicate that the connection is alive.
159         .
160         The <token> is the arbitrary text received in the "PING" command and
161         can be used to identify the correct PONG sent as answer.
162         .
163         When the "PONG" command is received from a user session, the <target>
164         parameter is ignored; otherwise the PONG is forwarded to this client.
165
166         References:
167          - RFC 2812, 3.7.3 "Pong message"
168
169 - QUIT
170         QUIT [<quit-message>]
171         .
172         Terminate a user session.
173         .
174         When received from a user, the server acknowledges this by sending
175         an "ERROR" message back to the client and terminates the connection.
176         .
177         When a <quit-message> has been given, it is sent to all the channels
178         that the client is a member of when leaving.
179
180         References:
181          - RFC 2812, 3.1.7 "Quit"
182          - RFC 2813, 4.1.5 "Quit"
183
184 - USER
185         USER <username> <hostname> <unused> <realname>
186         .
187         Register (and authenticate) a new user session with a short <username>
188         and a human-readable <realname>.
189         .
190         The parameter <hostname> is only used when received by an other server
191         and ignored otherwise; and the parameter <unused> is always ignored.
192         But both parameters are required on each invocation by the protocol
193         and can be set to arbitrary characters/text when not used.
194         .
195         If <username> contains an "@" character, the full <username> is used
196         for authentication, but only the first part up to this character is
197         set as "user name" for this session.
198
199         References:
200          - RFC 2812, 3.1.3 "User message"
201
202 - WEBIRC
203         WEBIRC <password> <username> <hostname> <ip-address>
204         .
205         Allow Web-to-IRC gateway software (for example) to set the correct
206         user name and host name of users instead of their own.
207         .
208         It must be the very first command sent to the server, even before
209         USER and NICK commands!
210         .
211         The <password> must be set in the server configuration file to prevent
212         unauthorized clients to fake their identity; it is an arbitrary string.
213
214         References:
215          - IRC+, <http://ngircd.barton.de/doc/Protocol.txt>
216          - IRC+, doc/Protocol.txt
217
218
219 General Commands
220 ~~~~~~~~~~~~~~~~
221
222 - AWAY
223         AWAY [<message>]
224         .
225         Provides the server with a message to automatically send in reply to a
226         PRIVMSG directed at the user, but not to a channel they are on.
227         .
228         If <message> is omitted, the away status is removed.
229
230 - HELP
231         HELP [<command>]
232         .
233         Show help information for a specific IRC <command>. The <command> name
234         is case-insensitive.
235         .
236         Use the command "HELP Commands" to get a list of all available commands.
237
238         The HELP command isn't specified by any RFC but implemented by most
239         daemons. If no help text could be read in, ngIRCd outputs a list of all
240         implemented commands when receiving a plain "HELP" command as well as
241         on "HELP Commands".
242
243         ngIRCd replies using "NOTICE" commands like ircd 2.10/2.11; other
244         implementations are using numerics 704, 705, and 706.
245
246
247 - MODE
248         MODE <nickname> <flags> (user)
249         MODE <channel> <flags> [<args>]
250         .
251         The MODE command is dual-purpose. It can be used to set both (user) and
252         <channel> modes.
253         .
254         See doc/Modes.txt for more information.
255
256 - NOTICE
257         NOTICE <target>[,<target>[,...]] <message>
258         .
259         Send a <message> to a given <target>, which can be a user or a
260         channel, but DON'T report any error.
261         .
262         The "NOTICE" command exactly behaves like the "PRIVMSG" command, but
263         doesn't report any errors it encounters (like an unknown <target>).
264         Please see the help text of the "PRIVMSG" command for a detailed
265         description of the parameters!
266
267         References:
268          - RFC 2812, 2.3.1 "Message format in Augmented BNF"
269          - RFC 2812, 3.3 "Sending messages"
270          - RFC 2812, 3.3.2 "Notice"
271
272 - PRIVMSG
273         PRIVMSG <target>[,<target>[,...]] <message>
274         .
275         Send a <message> to a given <target>, which can be a user or a
276         channel, and report all errors.
277         .
278         The <target> must follow one of these syntax variants:
279         .
280          - <nickname>
281          - <channel>
282          - <user>[%<host>]@<server>
283          - <user>%<host>
284          - <nickname>!<user>@<host>
285         .
286         If the <target> is a user, a private message is sent directly to this
287         user; if it resolves to a channel name, a public message is sent
288         to all the members of that channel.
289         .
290         In addition, IRC Ops can use these two forms to specify the <target>:
291         .
292          - #<hostmask>
293          - #<servermask>
294         .
295         The <mask> can contain the wildcard characters "*" and "?", but must
296         contain at least one dot (".") and no wildcard after the last one.
297         Then, the <message> is sent to all users matching this <mask>.
298         .
299         All warnings and errors are reported back to the initiator using
300         numeric status codes, which is the only difference to the "NOTICE"
301         command, which doesn't report back any errors or warnings at all.
302         .
303         Please note that clients often use "MSG" as an alias to PRIVMSG, and
304         a command "QUERY <nick> [<message>]" to initiate private chats. Both
305         are command extensions of the client and never sent to the server.
306
307         References:
308          - RFC 2812, 2.3.1 "Message format in Augmented BNF"
309          - RFC 2812, 3.3 "Sending messages"
310          - RFC 2812, 3.3.1 "Private messages"
311
312 Status and Informational Commands
313 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
314
315 - ADMIN
316         ADMIN [<target>]
317         .
318         Show administrative information about an IRC server in the network.
319         .
320         <target> can be a server name, the nickname of a client connected to
321         a specific server, or a mask matching a server name in the network.
322         The server of the current connection is used when <target> is omitted.
323
324         References:
325          - RFC 2812, 3.4.9 "Admin command"
326
327 - INFO
328         INFO [<target>]
329         .
330         Show the version, birth & online time of an IRC server in the network.
331         .
332         <target> can be a server name, the nickname of a client connected to
333         a specific server, or a mask matching a server name in the network.
334         The server of the current connection is used when <target> is omitted.
335
336         References:
337          - RFC 2812, 3.4.10 "Info command"
338
339 - ISON
340         ISON <nickname> [<nickname> [...]]
341         .
342         Query online status of a list of nicknames. The server replies with
343         a list only containing nicknames actually connected to a server in
344         the network. If no nicknames of the given list are online, an empty
345         list is returned to the client requesting the information.
346
347         Please note that "all" IRC daemons even parse separate nicknames in
348         a single parameter (like ":nick1 nick2"), and therefore ngIRCd
349         implements this behaviour, too.
350
351         References:
352          - RFC 2812, 4.9 "Ison message"
353
354 - LINKS
355         LINKS [[<target>] [<mask>]
356         .
357         List all servers currently registered in the network matching <mask>,
358         or all servers if <mask> has been omitted, as seen by the server
359         specified by <target> or the local server when <target> is omitted.
360         .
361         <target> can be a server name, the nickname of a client connected to
362         a specific server, or a mask matching a server name in the network.
363
364         References:
365          - RFC 2812, 3.4.5 "Links message"
366
367 - LUSERS
368         LUSERS [<mask> [<target>]]
369         .
370         Return statistics about the number of clients (users, servers,
371         services, ...) in the network as seen by the server <target>.
372         .
373         <target> can be a server name, the nickname of a client connected to
374         a specific server, or a mask matching a server name in the network.
375         The server of the current connection is used when <target> is omitted.
376
377         Please note that ngIRCd ignores the <mask> parameter entirely: it
378         is not possible to get information for a part of the network only.
379
380         References:
381          - RFC 2812, 3.4.2 "Lusers message"
382
383 - MOTD
384         MOTD [<target>]
385         .
386         Show the "Message of the Day" (MOTD) of an IRC server in the network.
387         .
388         <target> can be a server name, the nickname of a client connected to
389         a specific server, or a mask matching a server name in the network.
390         The server of the current connection is used when <target> is omitted.
391
392         References:
393          - RFC 2812, 3.4.1 "Motd message"
394
395 - NAMES
396         NAMES [<channel>[,<channel>[,...]] [<target>]]
397         .
398         Show the list of users that are members of a particular <channel>
399         (and that are visible for the client requesting this information) as
400         seen by the server <target>. More than one <channel> can be given
401         separated by "," (but not whitespaces!).
402         .
403         If <channel> has been omitted, all visible users are shown, grouped
404         by channel name, and all visible users not being members of at least
405         one channel are shown as members of the pseudo channel "*".
406         .
407         <target> can be a server name, the nickname of a client connected to
408         a specific server, or a mask matching a server name in the network.
409         The server of the current connection is used when <target> is omitted.
410
411         References:
412          - RFC 2812, 3.2.5 "Names message"
413
414 - STATS
415         STATS [<query> [<target>]]
416         .
417         Show statistics and other information of type <query> of a particular
418         IRC server in the network.
419         .
420         The following <query> types are supported (case-insensitive):
421         .
422          - g  Network-wide bans ("G-Lines").
423          - k  Server-local bans ("K-Lines").
424          - l  Link status (parent server and own link only).
425          - m  Command usage count.
426          - u  Server uptime.
427         .
428         <target> can be a server name, the nickname of a client connected to
429         a specific server, or a mask matching a server name in the network.
430         The server of the current connection is used when <target> is omitted.
431
432         References:
433          - RFC 2812, 3.4.4 "Stats message"
434
435 - TIME
436         TIME [<target>]
437         .
438         Show the local time of an IRC server in the network.
439         .
440         <target> can be a server name, the nickname of a client connected to
441         a specific server, or a mask matching a server name in the network.
442         The server of the current connection is used when <target> is omitted.
443
444         References
445          - RFC 2812, 3.4.6 "Time message"
446
447 - TRACE
448         TRACE [<server>]
449         .
450         Trace a path across the IRC network of the current server, or if given
451         of a specific <server>, in a similar method to traceroute.
452
453 - USERHOST
454         USERHOST <nickname> [<nickname> [...]]
455         .
456         Show flags and the hostmasks (<user>@<host>) of the <nickname>s,
457         separated by spaces. The following flags are used:
458         .
459          - "-"  The client is "away" (the mode "+a" is set on this client).
460          - "+"  Client seems to be available, at least it isn't marked "away".
461          - "*"  The client is an IRC operator (the mode "+o" is set).
462
463         References:
464          - RFC 2812, 4.8 "Userhost message"
465
466 - VERSION
467         VERSION [<target>]
468         .
469         Show version information about a particular IRC server in the network.
470         .
471         <target> can be a server name, the nickname of a client connected to
472         a specific server, or a mask matching a server name in the network.
473         The server of the current connection is used when <target> is omitted.
474         .
475         Please note: in normal operation, the version number ends in a dot
476         (".", for example "ngIRCd-20.1."). If it ends in ".1" (for example
477         "ngIRCd-20.1.1", same version than before!), the server is running in
478         debug-mode; and if it ends in ".2", the "network sniffer" is active!
479         Keep your privacy in mind ...
480
481         References:
482          - RFC 2812, 3.4.3 "Version message"
483
484 - WHO
485         WHO [<mask> ["o"]]
486         .
487         Show a list of users who match the <mask>, or all visible users when
488         the <mask> has been omitted. (Special case: the <mask> "0" is
489         equivalent to "*")
490         .
491         If the flag "o" is given, the server will only return information about
492         IRC Operators.
493
494         References:
495          - RFC 2812, 3.6.1 "Who query"
496
497 - WHOIS
498         WHOIS [<target>] <mask>[,<mask>[,...]]
499         .
500         Query information about users matching the <mask> parameter(s) as seen
501         by the server <target>; up to 3 <masks> are supported.
502         .
503         <target> can be a server name, the nickname of a client connected to a
504         specific server, or a mask matching a server name in the network. The
505         server of the current connection is used when <target> is omitted.
506
507         References:
508          - RFC 2812, 3.6.2 "Whois query"
509
510 - WHOWAS
511         WHOWAS <nickname>[,<nickname>[,...]] [<count> [<target>]]
512         .
513         Query information about nicknames no longer in use in the network,
514         either because of nickname changes or disconnects. The history is
515         searched backwards, returning the most recent entry first. If there
516         are multiple entries, up to <count> entries will be shown (or all of
517         them, if no <count> has been given).
518         .
519         <target> can be a server name, the nickname of a client connected to a
520         specific server, or a mask matching a server name in the network. The
521         server of the current connection is used when <target> is omitted.
522
523         References:
524          - RFC 2812, 3.6.3 "Whowas"
525
526
527 Channel Commands
528 ~~~~~~~~~~~~~~~~
529
530 - INVITE
531         INVITE <nickname> <channel>
532         .
533         Invite <nickname> to join channel <channel>.
534         .
535         <channel> does not have to exist, but if it does, only members of the
536         channel are allowed to invite other users. If the channel mode "+i"
537         is set, only channel "half-ops" (and above) may invite other clients,
538         and if channel mode "+V" is set, nobody can invite other users.
539
540         References:
541          - RFC 2812, 3.2.7 "Invite message"
542
543 - JOIN
544         JOIN <channels> [<channel-keys>]
545         .
546         Makes the client join the <channels> (comma-separated list), specifying
547         the passwords, if needed, in the comma-separated <channel-keys> list.
548         A <channel-key> is only needed, if the <channel> mode "+k" is set.
549         .
550         If the channel(s) do not exist, then they will be created.
551
552 - KICK
553         KICK <channel>[,<channel>[,...]] <nickname>[,<nickname>[,...]] [<reason>]
554         .
555         Remove users(s) with <nickname>(s) from <channel>(s).
556         .
557         There must be either exactly one <channel> parameter and multiple
558         <nickname> parameters, or as many <channel> parameters as there are
559         <nickname> parameters. The <reason> is shown to the users being
560         kicked, and the nickname of the current user is used when <reason>
561         is omitted.
562
563         References:
564          - RFC 2812, 3.2.8 "Kick command"
565
566 - LIST
567         LIST [<channels> [<server>]]
568         .
569         List all visible <channels> (comma-seperated list) on the current
570         server.
571         If <server> is given, the command will be forwarded to <server> for
572         evaluation.
573
574 - PART
575         PART <channels> [<part-message>]
576         .
577         Leave <channels> (comma-separated list), optional with a
578         <part-message>.
579
580 - TOPIC
581         TOPIC <channel> <topic>
582         .
583         Set a <topic> for <channel>.
584         .
585         Only <channel> operators are able to set a <topic>.
586
587
588 Administrative Commands
589 ~~~~~~~~~~~~~~~~~~~~~~~
590
591 - CONNECT
592         CONNECT <target server> [<port> [<remote server> [<mypwd> <peerpwd>]]]
593         .
594         Instructs the current server, or <remote server> if specified,
595         to connect to <target server>.
596         .
597         To connect <remote server> you need to have remote oper status.
598         If <port> is omitted, it uses the server port of the configuration.
599         If <mypwd> and <peerpwd> is given, it uses those passwords instead
600         of the ones in the configuration.
601
602 - DIE
603         DIE
604         .
605         Instructs the server to shut down.
606
607 - DISCONNECT
608         DISCONNECT [<remote server>]
609         .
610         Disconnects the current server, or <remote server> if specified.
611         To disconnect a <remote server> you need to have remote oper status.
612
613 - GLINE
614         GLINE <nick!user@hostmask> <seconds> :<reason>
615         .
616         This command provides timed G-Lines (Network-wide bans).
617         If a client matches a G-Line, it cannot connect to any server on
618         the IRC network. If you put 0 as <seconds>, it makes the G-Line
619         permanent.
620         .
621         To remove a G-Line, type "GLINE <nick!user@hostmask>".
622         To list the G-Lines, type "STATS g".
623
624 - KILL
625         KILL <nickname> <reason>
626         .
627         Forcibly remove all users with a given <nickname> from the IRC
628         network and display the given <reason> to them.
629         .
630         This command is used internally between servers, too, for example
631         to disconnect duplicate <nickname>'s after a "net split".
632
633         References:
634          - RFC 2812, 3.7.1 "Kill message"
635
636 - KLINE
637         KLINE <nick!user@hostmask> <seconds> :<reason>
638         .
639         This command provides timed K-Lines (Server-local bans).
640         If a client matches a K-Line, it cannot connect to the issued server.
641         If you put 0 as <seconds>, it makes the K-Line permanent.
642         .
643         To remove a K-Line, type "KLINE <nick!user@hostmask>".
644         To list the K-Lines, type "STATS k".
645
646 - OPER
647         OPER <user> <password>
648         .
649         Authenticates <user> as an IRC operator on the current server/network.
650
651 - REHASH
652         REHASH
653         .
654         Causes the server to re-read and re-process its configuration file(s).
655
656 - RESTART
657         RESTART
658         .
659         Restart the server.
660
661 - WALLOPS
662         WALLOPS <message>
663         .
664         Sends <message> to all users with user mode "+w".
665
666
667 IRC Service Commands
668 ~~~~~~~~~~~~~~~~~~~~
669
670 - SERVICE
671         SERVICE <name> <reserved1> <distribution> <type> <reserved2> <info>
672         SERVICE <name> <servertoken> <distribution> {<type>|+<modes>} <hops> <info>
673         .
674         Register a new service in the network.
675         .
676         The first form is used by directly linked services and isn't supported
677         by ngIRCd at the moment. The second form announces services connected
678         to remote "pseudo-servers" ("services hubs").
679         .
680         The <distribution> and <type> parameters are ignored by ngIRCd.
681
682         References:
683          - RFC 2812, 3.1.6 "Service message"
684          - RFC 2813, 4.1.4 "Service message"
685
686 - SERVLIST
687         SERVLIST [<mask> [<type>]]
688         .
689         List all IRC services currently registered in the network.
690         .
691         The optional <mask> and <type> parameters can be used to limit the
692         listing to services matching the <mask> and that are of type <type>.
693         .
694         Please note that ngIRCd doesn't use any service types at the moment
695         and therefore all services are of type "0".
696
697         References:
698          - RFC 2812, 3.5.1 "Servlist message"
699
700 - SQUERY
701         SQUERY <target>[,<target>[,...]] <message>
702         .
703         Send a <message> to a given <target> IRC service, and report all
704         errors.
705         .
706         The "SQUERY" command exactly behaves like the "PRIVMSG" command, but
707         enforces that the <target> of the <message> is an IRC service.
708         Please see the help text of the "PRIVMSG" command for a detailed
709         description of the parameters!
710         .
711         If a user wants to interact with IRC services, he should use "SQUERY"
712         instead of "PRIVMSG" or "NOTICE": only "SQUERY makes sure that no
713         regular user, which uses the nickname of an IRC service, receives
714         the command in error, for example during a "net split"!
715
716         References:
717          - RFC 2812, 2.3.1 "Message format in Augmented BNF"
718          - RFC 2812, 3.3 "Sending messages"
719          - RFC 2812, 3.3.2 "Notice"
720
721 - SVSNICK
722         SVSNICK <oldnick> <newnick>
723         .
724         Forcefully change foreign user nicknames. This command is allowed
725         for servers only.
726         .
727         The "SVSNICK" command is forwarded to the server to which the user
728         with nickname <oldnick> is connected to, which in turn generates a
729         regular "NICK" command that then is sent to the client, so no special
730         support in the client software is required.
731
732         References:
733          - ngIRCd GIT commit e3f300d3231f
734
735
736 Server Protocol Commands
737 ~~~~~~~~~~~~~~~~~~~~~~~~
738
739 - CHANINFO
740         CHANINFO <channel> +<modes> [[<key> <limit>] <topic>]
741         .
742         CHANINFO is used by servers to inform each other about a channel:
743         its modes, channel key, user limits and its topic.
744
745         References:
746          - IRC+, <http://ngircd.barton.de/doc/Protocol.txt>
747          - IRC+, doc/Protocol.txt
748
749 - ERROR
750         ERROR [<message> [<> [...]]]
751         .
752         Inform a client or a server about an error condition. The first 
753         parameter, if given, is logged by the server receiving the message,
754         all other parameters are silently ignored.
755         .
756         This command is silently ignored on non-server and non-service links
757         and shouldn't be used by regular IRC clients.
758         .
759         The ERROR message is also sent before terminating a regular client
760         connection.
761
762         References:
763          - RFC 2812, 3.7.4 "Error message"
764
765 - METADATA
766         METADATA <target> <key> <value>
767         .
768         The METADATA command is used on server-links to update "metadata"
769         information of clients, like the hostname, the info text ("real name"),
770         or the user name.
771
772         References:
773          - IRC+, <http://ngircd.barton.de/doc/Protocol.txt>
774          - IRC+, doc/Protocol.txt
775
776 - NJOIN
777
778 - SERVER
779
780 - SQUIT
781         SQUIT <server>
782         .
783         Disconnects an IRC Server from the network.
784
785
786 Dummy Commands
787 ~~~~~~~~~~~~~~
788
789 - SUMMON
790         SUMMON <user> [<target> [<channel>]]
791         .
792         This command was intended to call people into IRC who are directly
793         connected to the terminal console of the IRC server -- but is
794         deprecated today. Therefore ngIRCd doesn't really implement this
795         command and always returns an error message, regardless of the
796         parameters given.
797
798         References:
799          - RFC 2812, 4.5 "Summon message"
800
801 - USERS
802         USERS [<target>]
803         .
804         This command was intended to list users directly logged in into the
805         console of the IRC server -- but is deprecated today. Therefore ngIRCd
806         doesn't really implement this command and always returns an error
807         message, regardless of the parameters given.
808
809         References:
810          - RFC 2812, 4.6 "Users"
811
812 - GET
813
814 - POST