Skip to content

Commands Overview

ElixIRCd implements all core IRC protocol commands plus IRCv3 extensions. Commands are organized into functional groups.

CommandDescription
PASSSet a connection password
NICKSet or change nickname
USERSet username and real name
CAPIRCv3 capability negotiation
AUTHENTICATESASL authentication
PINGTest connection liveness
PONGReply to PING
QUITDisconnect from server
WEBIRCWebIRC gateway identification
CommandDescription
JOINJoin a channel (or create it)
PARTLeave a channel
MODESet/unset user or channel modes
TOPICGet or set channel topic
NAMESList visible users in channel
LISTList channels and topics
INVITEInvite a user to a channel
KICKEject a user from a channel
CommandDescription
PRIVMSGSend a private message or channel message
NOTICESend a notice (no auto-reply)
TAGMSGSend a message with tags but no text
AWAYSet or clear away status
CommandDescription
WHOISGet info about a user
WHOSearch users
WHOWASInfo about recently disconnected users
USERHOSTGet hostmask info for nicknames
USERSList users on the server
ISONCheck if users are online
LUSERSServer user count statistics
MONITORTrack when users go online/offline
CommandDescription
ACCEPTManage Caller ID (+g) accept list
SILENCEManage ignore/silence list
SETNAMEChange your real name
CHGHOSTChange a user’s hostname (operators)
CommandDescription
MOTDGet the message of the day
VERSIONGet server version
STATSGet server statistics
INFOGet server info
TIMEGet server local time
TRACETrace route to user or server
ADMINGet server administrator info
CommandDescription
OPERBecome an IRC operator
KILLDisconnect a user
WALLOPSBroadcast to +w users
OPERWALLMessage to all operators
GLOBOPSGlobal operator message
REHASHReload server configuration
RESTARTRestart the server
DIEShut down the server
ACCOUNTAccount change notification
CommandDescriptionStatus
CAPCapability negotiation
AUTHENTICATESASL authentication
TAGMSGTag-only messages
WEBIRCWebIRC gateway
SETNAMEChange real name
CHGHOSTChange hostname
MONITORUser tracking
ACCOUNTAccount notification

When a command fails or has invalid parameters, the server responds with numeric error codes following the IRC protocol standard. Common errors:

NumericNameMeaning
401ERR_NOSUCHNICKNo such nick or channel
403ERR_NOSUCHCHANNELNo such channel
404ERR_CANNOTSENDTOCHANCannot send to channel
405ERR_TOOMANYCHANNELSToo many channels joined
411ERR_NORECIPIENTNo recipient given
412ERR_NOTEXTTOSENDNo text to send
421ERR_UNKNOWNCOMMANDUnknown command
432ERR_ERRONEUSNICKNAMEErroneous nickname
433ERR_NICKNAMEINUSENickname already in use
441ERR_USERNOTINCHANNELUser not in channel
442ERR_NOTONCHANNELNot on channel
461ERR_NEEDMOREPARAMSNot enough parameters
462ERR_ALREADYREGISTEREDAlready registered
464ERR_PASSWDMISMATCHWrong server password
471ERR_CHANNELISFULLChannel is full (+l)
473ERR_INVITEONLYCHANInvite only (+i)
474ERR_BANNEDFROMCHANBanned (+b)
475ERR_BADCHANNELKEYWrong channel key (+k)
481ERR_NOPRIVILEGESPermission denied
482ERR_CHANOPRIVSNEEDEDYou’re not a channel operator
524ERR_SECUREONLYCHANSSL required (+z)
900RPL_LOGGEDINSASL login success
903RPL_SASLSUCCESSSASL authentication successful
904ERR_SASLFAILSASL authentication failed
905ERR_SASLTOOLONGSASL message too long
906ERR_SASLABORTEDSASL aborted
907ERR_SASLALREADYAlready authenticated