Skip to content

Commit a7add20

Browse files
authored
Move numerics to keep list sorted (#222)
1 parent edb924e commit a7add20

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

_includes/modern-appendix.md

+41-41
Original file line numberDiff line numberDiff line change
@@ -300,18 +300,18 @@ Sent as a reply to the {% message STATS %} command, when a client requests stati
300300

301301
Indicates the end of a STATS response.
302302

303-
{% numericheader RPL_STATSUPTIME %}
304-
305-
"<client> :Server Up <days> days <hours>:<minutes>:<seconds>"
306-
307-
Sent as a reply to the {% message STATS %} command, when a client requests the server uptime. The text used in the last param of this message may vary.
308-
309303
{% numericheader RPL_UMODEIS %}
310304

311305
"<client> <user modes>"
312306

313307
Sent to a client to inform that client of their currently-set user modes.
314308

309+
{% numericheader RPL_STATSUPTIME %}
310+
311+
"<client> :Server Up <days> days <hours>:<minutes>:<seconds>"
312+
313+
Sent as a reply to the {% message STATS %} command, when a client requests the server uptime. The text used in the last param of this message may vary.
314+
315315
{% numericheader RPL_LUSERCLIENT %}
316316

317317
"<client> :There are <u> users and <i> invisible on <s> servers"
@@ -434,29 +434,6 @@ Sent as a reply to the {% message AWAY %} command, this lets the client know tha
434434

435435
Sent as a reply to the {% message AWAY %} command, this lets the client know that they are set as being away. The text used in the last param of this message may vary.
436436

437-
{% numericheader RPL_WHOREPLY %}
438-
439-
"<client> <channel> <username> <host> <server> <nick> <flags> :<hopcount> <realname>"
440-
441-
Sent as a reply to the {% message WHO %} command, this numeric gives information about the client with the nickname `<nick>`. Refer to {% numeric RPL_WHOISUSER %} for the meaning of the fields `<username>`, `<host>` and `<realname>`. `<server>` is the name of the server the client is connected to. If the {% message WHO %} command was given a channel as the `<mask>` parameter, then the same channel MUST be returned in `<channel>`. Otherwise `<channel>` is an arbitrary channel the client is joined to or a literal asterisk character `('*', 0x2A)` if no channel is returned. `<hopcount>` is the number of intermediate servers between the client issuing the `WHO` command and the client `<nick>`, it might be unreliable so clients SHOULD ignore it.
442-
443-
`<flags>` contains the following characters, in this order:
444-
445-
* Away status: the letter H `('H', 0x48)` to indicate that the user is here, or the letter G `('G', 0x47)` to indicate that the user is gone.
446-
* Optionally, a literal asterisk character `('*', 0x2A)` to indicate that the user is a server operator.
447-
* Optionally, the highest [channel membership prefix](#channel-membership-prefixes) that the client has in `<channel>`, if the client has one.
448-
* Optionally, one or more user mode characters and other arbitrary server-specific flags.
449-
450-
{% numericheader RPL_ENDOFWHO %}
451-
452-
"<client> <mask> :End of WHO list"
453-
454-
Sent as a reply to the {% command WHO %} command, this numeric indicates the end of a `WHO` response for the mask `<mask>`.
455-
456-
`<mask>` MUST be the same `<mask>` parameter sent by the client in its `WHO` message, but MAY be casefolded.
457-
458-
This numeric is sent after all other `WHO` response numerics have been sent to the client.
459-
460437
{% numericheader RPL_WHOISREGNICK %}
461438

462439
"<client> <nick> :has identified for this nick"
@@ -489,6 +466,16 @@ Sent as a reply to the {% message WHOIS %} command, this numeric indicates that
489466

490467
Sent as a reply to the {% message WHOWAS %} command, this numeric shows details about one of the last clients that used the nickname `<nick>`. The purpose of each argument is the same as with the {% numeric RPL_WHOISUSER %} numeric.
491468

469+
{% numericheader RPL_ENDOFWHO %}
470+
471+
"<client> <mask> :End of WHO list"
472+
473+
Sent as a reply to the {% command WHO %} command, this numeric indicates the end of a `WHO` response for the mask `<mask>`.
474+
475+
`<mask>` MUST be the same `<mask>` parameter sent by the client in its `WHO` message, but MAY be casefolded.
476+
477+
This numeric is sent after all other `WHO` response numerics have been sent to the client.
478+
492479
{% numericheader RPL_WHOISIDLE %}
493480

494481
"<client> <nick> <secs> <signon> :seconds idle, signon time"
@@ -661,6 +648,19 @@ Sent as a reply to the {% message MODE %} command, this numeric indicates the en
661648

662649
Sent as a reply to the {% message VERSION %} command, this numeric indicates information about the desired server. `<version>` is the name and version of the software being used (including any revision information). `<server>` is the name of the server. `<comments>` may contain any further comments or details about the specific version of the server.
663650

651+
{% numericheader RPL_WHOREPLY %}
652+
653+
"<client> <channel> <username> <host> <server> <nick> <flags> :<hopcount> <realname>"
654+
655+
Sent as a reply to the {% message WHO %} command, this numeric gives information about the client with the nickname `<nick>`. Refer to {% numeric RPL_WHOISUSER %} for the meaning of the fields `<username>`, `<host>` and `<realname>`. `<server>` is the name of the server the client is connected to. If the {% message WHO %} command was given a channel as the `<mask>` parameter, then the same channel MUST be returned in `<channel>`. Otherwise `<channel>` is an arbitrary channel the client is joined to or a literal asterisk character `('*', 0x2A)` if no channel is returned. `<hopcount>` is the number of intermediate servers between the client issuing the `WHO` command and the client `<nick>`, it might be unreliable so clients SHOULD ignore it.
656+
657+
`<flags>` contains the following characters, in this order:
658+
659+
* Away status: the letter H `('H', 0x48)` to indicate that the user is here, or the letter G `('G', 0x47)` to indicate that the user is gone.
660+
* Optionally, a literal asterisk character `('*', 0x2A)` to indicate that the user is a server operator.
661+
* Optionally, the highest [channel membership prefix](#channel-membership-prefixes) that the client has in `<channel>`, if the client has one.
662+
* Optionally, one or more user mode characters and other arbitrary server-specific flags.
663+
664664
{% numericheader RPL_NAMREPLY %}
665665

666666
"<client> <symbol> <channel> :[prefix]<nick>{ [prefix]<nick>}"
@@ -675,12 +675,6 @@ Sent as a reply to the {% message NAMES %} command, this numeric lists the clien
675675

676676
`<nick>` is the nickname of a client joined to that channel, and `<prefix>` is the highest [channel membership prefix](#channel-membership-prefixes) that client has in the channel, if they have one. The last parameter of this numeric is a list of `[prefix]<nick>` pairs, delimited by a SPACE character `(' ', 0x20)`.
677677

678-
{% numericheader RPL_ENDOFNAMES %}
679-
680-
"<client> <channel> :End of /NAMES list"
681-
682-
Sent as a reply to the {% message NAMES %} command, this numeric specifies the end of a list of channel member names.
683-
684678
{% numericheader RPL_LINKS %}
685679

686680
"<client> * <server> :<hopcount> <server info>"
@@ -695,6 +689,12 @@ Sent as a reply to the {% message LINKS %} command, this numeric specifies one o
695689

696690
Sent as a reply to the {% message LINKS %} command, this numeric specifies the end of a list of channel member names.
697691

692+
{% numericheader RPL_ENDOFNAMES %}
693+
694+
"<client> <channel> :End of /NAMES list"
695+
696+
Sent as a reply to the {% message NAMES %} command, this numeric specifies the end of a list of channel member names.
697+
698698
{% numericheader RPL_BANLIST %}
699699

700700
"<client> <channel> <mask> [<who> <set-ts>]"
@@ -721,6 +721,12 @@ Sent as a reply to the {% message WHOWAS %} command, this numeric indicates the
721721

722722
Sent as a reply to the {% message INFO %} command, this numeric returns human-readable information describing the server: e.g. its version, list of authors and contributors, and any other miscellaneous information which may be considered to be relevant.
723723

724+
{% numericheader RPL_MOTD %}
725+
726+
"<client> :<line of the motd>"
727+
728+
When sending the {% message Message of the Day %} to the client, servers reply with each line of the `MOTD` as this numeric. `MOTD` lines MAY be wrapped to 80 characters by the server.
729+
724730
{% numericheader RPL_ENDOFINFO %}
725731

726732
"<client> :End of INFO list"
@@ -733,12 +739,6 @@ Indicates the end of an INFO response.
733739

734740
Indicates the start of the [Message of the Day](#motd-message) to the client. The text used in the last param of this message may vary, and SHOULD be displayed as-is by IRC clients to their users.
735741

736-
{% numericheader RPL_MOTD %}
737-
738-
"<client> :<line of the motd>"
739-
740-
When sending the {% message Message of the Day %} to the client, servers reply with each line of the `MOTD` as this numeric. `MOTD` lines MAY be wrapped to 80 characters by the server.
741-
742742
{% numericheader RPL_ENDOFMOTD %}
743743

744744
"<client> :End of /MOTD command."

0 commit comments

Comments
 (0)