List Of Internet Relay Chat Commands
   HOME

TheInfoList



OR:

This is a list of all
Internet Relay Chat Internet Relay Chat (IRC) is a text-based chat system for instant messaging. IRC is designed for group communication in discussion forums, called ''channels'', but also allows one-on-one communication via private messages as well as chat and ...
commands from
RFC RFC may refer to: Computing * Request for Comments, a memorandum on Internet standards * Request for change, change management * Remote Function Call, in SAP computer systems * Rhye's and Fall of Civilization, a modification for Sid Meier's Civ ...
1459, RFC 2812, and extensions added to major IRC daemons. Most IRC clients require commands to be preceded by a slash ("/"). Some commands are actually sent to
IRC bot 409px, An IRC bot performing a simple task.An IRC bot is a set of scripts or an independent program that connects to Internet Relay Chat as a client, and so appears to other IRC users as another user. An IRC bot differs from a regular client in th ...
s; these are treated by the IRC protocol as ordinary messages, not as /-commands. Conventions used here: Angle brackets ("<" and ">") are used here to indicate a placeholder for some value, and are not a literal part of a command. Square brackets (" and ") are used to indicate that a value is ''optional''.


User commands


ADMIN

Syntax: :ADMIN nowiki>/code> Instructs the
server Server may refer to: Computing *Server (computing), a computer program or a device that provides functionality for other programs or devices, called clients Role * Waiting staff, those who work at a restaurant or a bar attending customers and su ...
to return information about the administrators of the server specified by , where is either a server or a user. If is omitted, the server should return information about the administrators of the current server.


AWAY

Syntax: :AWAY message>/nowiki> Provides the server with a message to automatically send in reply to a PRIVMSG directed at the user, but not to a channel they are on. If is omitted, the away status is removed. Defined in RFC 1459.


CNOTICE

Syntax: :CNOTICE : Sends a channel NOTICE message to on that bypasses flood protection limits. The target nickname must be in the same channel as the client issuing the command, and the client must be a channel operator. Normally an IRC server will limit the number of different targets a client can send messages to within a certain time frame to prevent spammers or bots from mass-messaging users on the network, however this command can be used by channel operators to bypass that limit in their channel. For example, it is often used by help operators that may be communicating with a large number of users in a help channel at one time. This command is not formally defined in an RFC, but is in use by some IRC networks. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the CNOTICE keyword


CPRIVMSG

Syntax: :CPRIVMSG : Sends a private message to on that bypasses flood protection limits. The target nickname must be in the same channel as the client issuing the command, and the client must be a channel operator. Normally an IRC server will limit the number of different targets a client can send messages to within a certain time frame to prevent spammers or bots from mass-messaging users on the network, however this command can be used by channel operators to bypass that limit in their channel. For example, it is often used by help operators that may be communicating with a large number of users in a help channel at one time. This command is not formally defined in an RFC, but is in use by some IRC networks. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the CPRIVMSG keyword


CONNECT

Syntax: :CONNECT port>_[_(RFC_1459) :CONNECT___ port>_[_(RFC_1459) :CONNECT___[">remote_server>.html"_;"title="port>_[">port>_[_(RFC_1459) :CONNECT___[/nowiki>_(RFC_2812) Instructs_the_server__(or_the_current_server,_if__is_omitted)_to_connect_to__on_port_. This_command_should_only_be_available_to_IRC_Operator.html" ;"title="remote_server>.html" ;"title="remote_server>.html" ;"title="port> [">port> [
(RFC 1459) :CONNECT [">remote_server>.html" ;"title="port> [">port> [ (RFC 1459) :CONNECT [/nowiki> (RFC 2812) Instructs the server (or the current server, if is omitted) to connect to on port . This command should only be available to IRC Operator">IRC operators. Defined in RFC 1459; the parameter became mandatory in RFC 2812.


DIE

Syntax: :DIE Instructs the server to shut down. This command may only be issued by IRC server operators. Defined in RFC 2812.


ENCAP

Syntax: :: ENCAP This command is for use by servers to encapsulate commands so that they will propagate across hub servers not yet updated to support them, and indicates the subcommand and its parameters should be passed unaltered to the destination, where it will be unencapsulated and parsed. This facilitates implementation of new features without a need to restart all servers before they are usable across the network.


ERROR

Syntax: :ERROR This command is for use by servers to report errors to other servers. It is also used before terminating client connections. Defined in RFC 1459.


HELP

Syntax: :HELP Requests the server to display the help file. This command is not formally defined in an RFC, but is in use by most major IRC daemons.


INFO

Syntax: :INFO target>/nowiki> Returns information about the server, or the current server if is omitted. Information returned includes the server's version, when it was
compiled In computing, a compiler is a computer program that translates computer code written in one programming language (the ''source'' language) into another language (the ''target'' language). The name "compiler" is primarily used for programs that ...
, the patch level, when it was started, and any other information which may be considered to be relevant. Defined in RFC 1459.


INVITE

Syntax: :INVITE Invites to the channel . does not have to exist, but if it does, only members of the channel are allowed to invite other clients. If the channel mode i is set, only channel operators may invite other clients. Defined in RFC 1459.


ISON

Syntax: :ISON Queries the server to see if the clients in the space-separated list are currently on the network. The server returns only the nicknames that are on the network in a space-separated list. If none of the clients are on the network the server returns an empty list. Defined in RFC 1459.


JOIN

Syntax: :JOIN keys>/nowiki> Makes the client join the channels in the comma-separated list , specifying the passwords, if needed, in the comma-separated list . If the channel(s) do not exist then they will be created. Defined in RFC 1459.


KICK

Syntax: :KICK : message>/nowiki> Forcibly removes from . This command may only be issued by channel operators. Defined in RFC 1459.


KILL

Syntax: :KILL Forcibly removes from the network. This command may only be issued by IRC operators. Defined in RFC 1459.


KNOCK

Syntax: :KNOCK message>/nowiki> Sends a NOTICE to an invitation-only with an optional , requesting an invite. This command is not formally defined by an RFC, but is supported by most major IRC daemons. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the KNOCK keyword.


LINKS

Syntax: :LINKS remote server> [ Lists all server links matching , if given, on , or the current server if omitted. Defined in RFC 1459.


LIST

Syntax: :LIST channels> [ Lists all channels on the server. If the comma-separated list is given, it will return the channel topics. If is given, the command will be forwarded to for evaluation. Defined in RFC 1459.


LUSERS

Syntax: :LUSERS mask> [ Returns statistics about the size of the network. If called with no arguments, the statistics will reflect the entire network. If is given, it will return only statistics reflecting the masked subset of the network. If is given, the command will be forwarded to for evaluation. Defined in RFC 2812.


MODE

Syntax: :MODE (user) :MODE [] The MODE command is dual-purpose. It can be used to set both user and channel modes. Defined in RFC 1459.


MOTD

Syntax: :MOTD server>/nowiki> Returns the message of the day on or the current server if it is omitted. Defined in RFC 2812.


NAMES

Syntax: :NAMES channels>/nowiki> (RFC 1459) :NAMES channels> [ (RFC 2812) Returns a list of who is on the comma-separated list of , by channel name. If is omitted, all users are shown, grouped by channel name with all users who are not on a channel being shown as part of channel "*". If is specified, the command is sent to for evaluation. Defined in RFC 1459; the optional parameter was added in RFC 2812. The response contains all nicknames in the channel prefixed with the highest channel status prefix of that user, for example like this (with @ being the highest status prefix) ::irc.server.net 353 Phyre = #SomeChannel :@WiZ If a client wants to receive all the channel status prefixes of a user and not only their current highest one, the IRCv3 multi-prefix extension can be enabled (@ is the channel operator prefix, and + the lower voice status prefix): ::irc.server.net 353 Phyre = #SomeChannel :@+WiZ See also NAMESX below for an alternate, older approach to achieve the same effect. However, by today most clients and servers support the new IRCv3 standard.


NICK

Syntax: :NICK [] (RFC 1459) :NICK (RFC 2812) Allows a client to change their IRC nickname. Hopcount is for use between servers to specify how far away a nickname is from its home server. Defined in RFC 1459; the optional parameter was removed in RFC 2812.


NOTICE

Syntax: :NOTICE This command works similarly to PRIVMSG, except automatic replies must never be sent in reply to NOTICE messages. Defined in RFC 1459.


OPER

Syntax: :OPER Authenticates a user as an IRC operator on that server/network. Defined in RFC 1459.


PART

Syntax: :PART message>/nowiki> Causes a user to leave the channels in the comma-separated list . Defined in RFC 1459.


PASS

Syntax: :PASS Sets a connection password. This command must be sent before the NICK/USER registration combination. Defined in RFC 1459.


PING

Syntax: :PING server2>/nowiki> Tests the presence of a connection. A PING message results in a PONG reply. If is specified, the message gets passed on to it. Defined in RFC 1459.


PONG

Syntax: :PONG server2>/nowiki> This command is a reply to the PING command and works in much the same way. Defined in RFC 1459.


PRIVMSG

Syntax: :PRIVMSG : Sends to , which is usually a user or channel. Defined in RFC 1459.


QUIT

Syntax: :QUIT message>/nowiki> Disconnects the user from the server. Defined in RFC 1459.


REHASH

Syntax: :REHASH Causes the server to re-read and re-process its configuration file(s). This command can only be sent by IRC operators. Defined in RFC 1459.


RULES

Syntax: :RULES Requests the server rules. This command is not formally defined in an RFC, but is used by most major IRC daemons.


SERVER

Syntax: :SERVER The server message is used to tell a server that the other end of a new connection is a server. This message is also used to pass server data over the whole network. details how many hops (server connections) away is. contains addition human-readable information about the server. Defined in RFC 1459.


SERVICE

Syntax:


SERVLIST


SQUERY

Syntax: :SQUERY Identical to PRIVMSG except the recipient must be a service. Defined in RFC 2812.


SQUIT

Syntax: :SQUIT Causes to quit the network. Defined in RFC 1459.


SETNAME

Syntax: :SETNAME Allows a client to change the "real name" specified when registering a connection. This command is not formally defined by an RFC, but is in use by some IRC daemons. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the SETNAME keyword


SILENCE

Syntax: :SILENCE /-/nowiki> Adds or removes a host mask to a server-side ignore list that prevents matching users from sending the client messages. More than one mask may be specified in a space-separated list, each item prefixed with a "+" or "-" to designate whether it is being added or removed. Sending the command with no parameters returns the entries in the client's ignore list. This command is not formally defined in an RFC, but is supported by most major IRC daemons. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the SILENCE keyword and the maximum number of entries a client may have in its ignore list. For example: ::irc.server.net 005 WiZ WALLCHOPS WATCH=128 SILENCE=15 MODES=12 CHANTYPES=#


STATS

Syntax: :STATS server>/nowiki> Returns statistics about the current server, or if it's specified. Defined in RFC 1459.


SUMMON

Syntax: :SUMMON server>/nowiki> (RFC 1459) :SUMMON server> [ (RFC 2812) Gives users who are on the same host as a message asking them to join IRC. Defined in RFC 1459; the optional parameter was added in RFC 2812.


TIME

Syntax: :TIME server>/nowiki> Returns the local time on the current server, or if specified. Defined in RFC 1459.


TOPIC

Syntax: :TOPIC [] Allows the client to query or set the channel topic on . If is given, it sets the channel topic to . If channel mode +t is set, only a channel operator may set the topic. Defined in RFC 1459.


TRACE

Syntax: :TRACE target>/nowiki> Trace a path across the IRC network to a specific server or client, in a similar method to
traceroute In computing, traceroute and tracert are computer network diagnostic commands for displaying possible routes (paths) and measuring transit delays of packets across an Internet Protocol (IP) network. The history of the route is recorded as th ...
. Defined in RFC 1459.


USER

Syntax: :USER (RFC 1459) :USER (RFC 2812) This command is used at the beginning of a connection to specify the username, hostname, real name and initial user modes of the connecting client. may contain spaces, and thus must be prefixed with a colon. Defined in RFC 1459, modified in RFC 2812.


USERHOST

Syntax: :USERHOST nickname> .../nowiki> Returns a list of information about the nicknames specified. Defined in RFC 1459.


USERIP

Syntax: :USERIP Requests the direct
IP address An Internet Protocol address (IP address) is a numerical label such as that is connected to a computer network that uses the Internet Protocol for communication.. Updated by . An IP address serves two main functions: network interface ident ...
of the user with the specified nickname. This command is often used to obtain the IP of an abusive user to more effectively perform a ban. It is unclear what, if any, privileges are required to execute this command on a server. This command is not formally defined by an RFC, but is in use by some IRC daemons. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the USERIP keyword.


USERS

Syntax: :USERS server>/nowiki> Returns a list of users and information about those users in a format similar to the
UNIX Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, and ot ...
commands
who Who or WHO may refer to: * Who (pronoun), an interrogative or relative pronoun * Who?, one of the Five Ws in journalism * World Health Organization Arts and entertainment Fictional characters * Who, a creature in the Dr. Seuss book '' Horton He ...
, rusers and
finger A finger is a limb of the body and a type of digit, an organ of manipulation and sensation found in the hands of most of the Tetrapods, so also with humans and other primates. Most land vertebrates have five fingers ( Pentadactyly). Chambers ...
. Defined in RFC 1459.


VERSION

Syntax: :VERSION server>/nowiki> Returns the
version Version may refer to: Computing * Software version, a set of numbers that identify a unique evolution of a computer program * VERSION (CONFIG.SYS directive), a configuration directive in FreeDOS Music * Cover version * Dub version * Remix * ''Ve ...
of , or the current server if omitted. Defined in RFC 1459.


WALLOPS

Syntax: :WALLOPS Sends to all operators connected to the server (RFC 1459), or all users with user mode 'w' set (RFC 2812). Defined in RFC 1459.


WATCH

Syntax: :WATCH /-/nowiki> Adds or removes a user to a client's server-side friends list. More than one nickname may be specified in a space-separated list, each item prefixed with a "+" or "-" to designate whether it is being added or removed. Sending the command with no parameters returns the entries in the client's friends list. This command is not formally defined in an RFC, but is supported by most major IRC daemons. Support is indicated in a RPL_ISUPPORT reply (numeric 005) with the WATCH keyword and the maximum number of entries a client may have in its friends list. For example: ::irc.server.net 005 WiZ WALLCHOPS WATCH=128 SILENCE=15 MODES=12 CHANTYPES=#


WHO

Syntax: :WHO name> ["o" Returns a list of users who match . If the flag "o" is given, the server will only return information about IRC operators. Defined in RFC 1459.


WHOIS

Syntax: :WHOIS [] Returns information about the comma-separated list of nicknames masks . If is given, the command is forwarded to it for processing. Defined in RFC 1459.


WHOWAS

Syntax: :WHOWAS count> [ Used to return information about a nickname that is no longer in use (due to client disconnection, or nickname changes). If given, the server will return information from the last times the nickname has been used. If is given, the command is forwarded to it for processing. In RFC 2812, can be a comma-separated list of nicknames. Defined in RFC 1459.


See also

* IRCd * IRCX * Server (computing), Server


References


Bibliography

* *


Further reading

* * * * {{authority control Internet Relay Chat Computing commands