sigildocs

(sigil irc numerics)

(sigil irc numerics) - IRC numeric reply constants

Numeric replies as named constants. Servers send these as 3-digit commands (e.g. 001, 433, 903). Sigil's parser uppercases the command and converts it to a symbol; here we expose both forms:

RPL-WELCOME => "001" (string) IRC/RPL-WELCOME => '|001| (symbol, what the parser returns)

The string form is what you serialize with make-irc-command. The symbol form is what you compare against irc-message-command.

Categories: 001-005 registration / welcome / ISUPPORT 200-399 responses (RPL) 400-599 errors (ERR) 600-799 IRCv3 / extension space (SASL, MONITOR, CHATHISTORY, etc.)

Source: RFC 2812 + IRCv3 specifications + de-facto registry at https://defs.ircdocs.horse/defs/numerics.html

Exports

Map a numeric reply code (string or symbol form) to its canonical constant name as a symbol. Returns #f for unknown codes.

(irc-numeric-name "001")  ; => 'RPL-WELCOME
(irc-numeric-name '|001|) ; => 'RPL-WELCOME

Convert a numeric code string ("001") to the parser's symbol form ('|001|). Useful for eq? comparisons against irc-message-command.

RPL-WELCOMEvariable

(No description)

RPL-YOURHOSTvariable

(No description)

RPL-CREATEDvariable

(No description)

RPL-MYINFOvariable

(No description)

RPL-ISUPPORTvariable

(No description)

(No description)

RPL-LUSEROPvariable

(No description)

(No description)

(No description)

RPL-LUSERMEvariable

(No description)

RPL-ADMINMEvariable

(No description)

(No description)

(No description)

(No description)

RPL-AWAYvariable

(No description)

RPL-USERHOSTvariable

(No description)

RPL-ISONvariable

(No description)

RPL-UNAWAYvariable

(No description)

RPL-NOWAWAYvariable

(No description)

(No description)

(No description)

(No description)

(No description)

RPL-ENDOFWHOvariable

(No description)

(No description)

(No description)

(No description)

(No description)

RPL-LISTvariable

(No description)

RPL-LISTENDvariable

(No description)

(No description)

RPL-NOTOPICvariable

(No description)

RPL-TOPICvariable

(No description)

(No description)

RPL-INVITINGvariable

(No description)

(No description)

(No description)

(No description)

(No description)

RPL-WHOREPLYvariable

(No description)

RPL-NAMREPLYvariable

(No description)

(No description)

RPL-BANLISTvariable

(No description)

(No description)

(No description)

RPL-MOTDvariable

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

ERR-NOMOTDvariable

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

ERR-NOLOGINvariable

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

RPL-LOGGEDINvariable

(No description)

(No description)

(No description)

(No description)

ERR-SASLFAILvariable

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)

RPL-MONLISTvariable

(No description)

(No description)

(No description)

RPL-STARTTLSvariable

(No description)

ERR-STARTTLSvariable

(No description)

CMD-FAILvariable

(No description)

CMD-WARNvariable

(No description)

CMD-NOTEvariable

(No description)