Chapter 7. IRCX Command Responses

Table of Contents

Command Replies
800 - IRCRPL_IRCX
801 - IRCRPL_ACCESSADD
802 - IRCRPL_ACCESSDELETE
803 - IRCRPL_ACCESSSTART
804 - IRCRPL_ACCESSLIST
805 - IRCRPL_ACCESSEND
806 - IRCRPL_EVENTADD
807 - IRCRPL_EVENTDEL
808 - IRCRPL_EVENTSTART
809 - IRCRPL_EVENTLIST
810 - IRCRPL_EVENTEND
811 - IRCRPL_LISTXSTART
812 - IRCRPL_LISTXLIST
813 - IRCRPL_LISTXPICS
816 - IRCRPL_LISTXTRUNC
817 - IRCRPL_LISTXEND
818 - IRCRPL_PROPLIST
819 - IRCRPL_PROPEND
IRCX Error Replies
900 - IRCERR_BADCOMMAND
901 - IRCERR_TOOMANYARGUMENTS
902 - IRCERR_BADFUNCTION
903 - IRCERR_BADLEVEL
904 - IRCERR_BADTAG
905 - IRCERR_BADPROPERTY
906 - IRCERR_BADVALUE
907 - IRCERR_RESOURCE
908 - IRCERR_SECURITY
909 - IRCERR_ALREADYAUTHENTICATED
910 - IRCERR_AUTHENTICATIONFAILED
911 - IRCERR_AUTHENTICATIONSUSPENDED
912 - IRCERR_UNKNOWNPACKAGE
913 - IRCERR_NOACCESS
914 - IRCERR_DUPACCESS
915 - IRCERR_MISACCESS
916 - IRCERR_TOOMANYACCESSES
918 - IRCERR_EVENTDUP
919 - IRCERR_EVENTMIS
920 - IRCERR_NOSUCHEVENT
921 - IRCERR_TOOMANYEVENTS
923 - IRCERR_NOWHISPER
926 - IRCERR_CHANNELEXIST
927 - IRCERR_ALREADYONCHANNEL
999 - IRCERR_UNKNOWNERROR

The new extended IRCX numeric replies follow the same convention as IRC replies, with a specific range for command responses and another range for error results. The IRCX command responses are in the range of 800 to 899 and 900 to 999 for the error results.

Command Replies

800 - IRCRPL_IRCX

<state> <version> <package-list> <maxmsg> <option-list>

The response to the IRCX and ISIRCX commands. The <state> indicates if the client has IRCX mode enabled (0 for disabled, 1 for enabled). The <version> is the version of the IRCX protocol starting at 0. The <package-list> contains a list of authentication packages supported by the server. The package name of "ANON" is reserved to indicate that anonymous connections are permitted. The <maxmsg> defines the maximum message size permitted, with the standard being 512. The <option-list> contains a list of options supported by the server; these are implementation-dependent. If no options are available, the '*' character is used.

801 - IRCRPL_ACCESSADD

<object> <level> <mask> <timeout> <user> :<reason>

Response to a successful ACCESS ADD command. The <object> is the name of the object to which the access restrictions apply (i.e. channel name or user name). The <level> is the level of access being added (i.e. GRANT, DENY). The <mask> is the selection mask. If no mask is provided in the ACCESS command, then the default mask of *!*@*$* is used. The <timeout> is the amount of time this access entry will last. The <user> is the one who added the new ACCESS record. The <reason> is the reason supplied in the ACCESS ADD command.

802 - IRCRPL_ACCESSDELETE

<object> <level> <mask>

Response to a successful ACCESS DELETE command. See reply 801 for explanation of the fields.

803 - IRCRPL_ACCESSSTART

<object> :Start of access entries

Beginning of a list of access entries. <object> is the object to which the access restrictions apply (i.e. channel name or user name). The next message will be an IRCRPL_ACCESSLIST or IRCRPL_ACCESSEND reply.

804 - IRCRPL_ACCESSLIST

<object> <level> <mask> <timeout> <user> :<reason>

One entry in a list of access entries. See reply 801 for explanation of the fields.

805 - IRCRPL_ACCESSEND

<object> :End of access entries

End of a list of access entries. See reply 803 for explanation of the field. This reply will always follow an IRCRPL_ACCESSSTART or IRCRPL_ACCESSLIST reply.

806 - IRCRPL_EVENTADD

<event> <mask>

The acknowledgment response to the EVENT ADD command. The <event> contains the name of the event added. The <mask> is the selection mask. If no mask is provided in the EVENT command, then the default mask of *!*@*$* is used.

807 - IRCRPL_EVENTDEL

<event> <mask>

The acknowledgment response to the EVENT DELETE command. The <event> contains the name of the deleted event. The <mask> is the selection mask. If no mask is provided in the EVENT command, then the default mask of *!*@*$* is used.

808 - IRCRPL_EVENTSTART

:Start of events

Response to the EVENT LIST <event> message that indicates the start of the event list.

809 - IRCRPL_EVENTLIST

<event> <mask>

Response to the EVENT LIST <event> message that displays a list of current events that the client is interested in.

810 - IRCRPL_EVENTEND

:End of events

Response to the EVENT LIST <event> message that indicates the end of the event list.

811 - IRCRPL_LISTXSTART

:Start of ListX

First reply to a LISTX (extended list) command. Will always be followed by a reply of type 812, 816 or 817.

812 - IRCRPL_LISTXLIST

<channel> <modes> <members> <member limit> :<topic>

Single list item in an extended list of channels. The <channel> is the name of the channel in the list. The <modes> specify the current modes set on the channel. <members> lists the members currently in the channel. <member limit> returns the member limit of the channel. <topic> returns the topic of the channel.

813 - IRCRPL_LISTXPICS

:<PICS-rating>

PICS rating string for the last channel listed (follows an 812 message).

816 - IRCRPL_LISTXTRUNC

:Truncation of ListX

Last reply to a LISTX command, either because the user asked for a limited list of channels or because the server truncated the list to prevent output flooding. Always follows a reply of type 811, 812 or 813.

817 - IRCRPL_LISTXEND

:End of ListX

Last reply to a LISTX command, indicating that the list has ended. Always follows a reply of type 811, 812 or 813.

818 - IRCRPL_PROPLIST

<object> <property> :<value>

A value in a property list. The <object> is the name of the object (i.e., channel name). The <property> is the property in the list. The <value> is the value of the property listed.

819 - IRCRPL_PROPEND

<object> :End of properties

Last message in a property list.