Skip to content

Useful IRC commands

indivisible-irl edited this page Sep 29, 2012 · 3 revisions

WALLOPS

Syntax:

WALLOPS <message>

Sends to all operators connected to the server (RFC 1459), or all users with user mode 'w' set (RFC 2812).[48][49]


##INVITE

Syntax:

INVITE <nickname> <channel>

Invites to the channel .[8] 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.


##KICK

Syntax:

KICK <channel> <client> [<message>]

Forcibly removes from .[11] This command may only be issued by channel operators.


##KILL

Syntax:

KILL <client> <comment>

Forcibly removes from the network.[12] This command may only be issued by IRC operators.


##AWAY

Syntax:

AWAY [<message>]

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.[2] If is omitted, the away status is removed.

Edit: AWAY without args didn't revert the away status. BACK may work


##MOTD

Syntax:

MOTD [<server>]

Returns the message of the day on or the current server if it is omitted.[17]


##NAMES

Syntax:

NAMES [<channels>] (RFC 1459)
NAMES [<channels> [<server>]] (RFC 2812)

Returns a list of who is on the comma-separated list of , by channel name.[18] 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.[19]


##NICK

Syntax:

NICK <nickname> [<hopcount>] (RFC 1459)
NICK <nickname> (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.[20][21]


##PART

Syntax:

PART <channels> [<message>]

Causes a user to leave the channels in the comma-separated list .[24]


##PRIVMSG

Syntax:

PRIVMSG <msgtarget> <message>

Sends to , which is usually a user or channel.[28]


##QUIT

Syntax:

QUIT [<message>]

Disconnects the user from the server.[29]


##TIME

Syntax:

TIME [<server>]

Returns the local time on the current server, or if specified.[40]


##TOPIC

Syntax:

TOPIC <channel> [<topic>]

Allows the client to query or set the channel topic on .[41] If is given, it sets the channel topic to . If channel mode +t is set, only a channel operator may set the topic.


##USERS

Syntax:

USERS [<server>]

Returns a list of users and information about those users in a format similar to the UNIX commands who, rusers and finger.[46]


##WHOIS

Syntax:

WHOIS [<server>] <nicknames>

Returns information about the comma-separated list of nicknames masks .[51] If is given, the command is forwarded to it for processing.


##WHOWAS

Syntax:

WHOWAS <nickname> [<count> [<server>]]

Used to return information about a nickname that is no longer in use (due to client disconnection, or nickname changes).[52] 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.[53]


Clone this wiki locally