Commands
From Slacked
Contents |
This list only shows standard IRC commands. Your client may have more commands, check its documentation for a complete list.
ACCEPT
/ACCEPT <nick> -- Add a permitted nickname /ACCEPT -<nick> -- Remove a permitted nickname /ACCEPT * -- List the present permitted nicknames
ACCEPT allows you to control who can send you a NOTICE or PRIVMSG while you have user mode +g enabled.
ADMIN
/ADMIN [server]
With no arguments, ADMIN shows the information that was set by the administrator of the server. This information can take any form that will fit in three lines of text but is usually a list of contacts for the persons that run the server.
With a second argument, the administrative information for the specified server is displayed.
AWAY
/AWAY [MSG]
Without an argument, it will set you back. With an argument, it will set you as AWAY with the specified message.
CNOTICE
/CNOTICE <nick> <channel> <text>
Providing you are opped (+o) or voiced (+v) in <channel>, and <nick> is a member of <channel>, CNOTICE generates a NOTICE towards <nick>. CNOTICE bypasses any anti-spam measures in place.
CPRIVMSG
/CPRIVMSG <nick> <channel> <text>
Providing you are opped (+o) or voiced (+v) in <channel>, and <nick> is a member of <channel>, CPRIVMSG generates a PRIVMSG towards <nick>. CPRIVMSG bypasses any anti-spam measures in place.
INVITE
/INVITE <nickname> <channel>
INVITE sends a notice to the user that you have asked him/her to come to the specified channel.
ISON
/ISON <nick_A> [nick_B] [nick_C] [nick_D]
ISON will return a list of users who are present on the network from the list that was passed in.
This command is rarely used directly.
JOIN
/JOIN <#channel> [key]
The JOIN command allows you to enter a public chat area known as a channel. Network wide channels are proceeded by a '#', while a local server channel is proceeded by an '&'. More than one channel may be specified, separated with commas (no spaces).
If the channel has a key set, the 2nd argument must be given to enter. This allows channels to be password protected.
KICK
/KICK <channel> <nick> [msg]
The KICK command will remove the specified user from the specified channel, using the optional kick message. You must be a channel operator to use this command.
KNOCK
/KNOCK <channel>
KNOCK requests access to a channel that for some reason is not open.
KNOCK cannot be used if you are banned, the channel is +p, or it is open.
LINKS
/LINKS [[remote] mask]
LINKS shows a list of all servers linked to the host server.
With a mask parameter, LINKS will just show servers matching that parameter. With the remote server parameter, LINKS will request the LINKS data from the remote server, matching the mask given.
The information provided by the LINKS command can be helpful for determining the overall shape of the network in addition to its size.
NOTE: the links command employs an intensive process to generate it's output, so sparing use is recommended.
LIST
/LIST [#channel]|[modifiers]
Without any arguments, LIST will give an entire list of all channels which are not set as secret (+s). The list will be in the form:
<#channel> <amount of users> [topic]
If an argument supplied is a channel name, LIST will give just the statistics for the given channel.
Modifiers are also supported, seperated by a comma:
<n - List channels with less than n users >n - List channels with more than n users
LUSERS
/LUSERS [mask [remoteserver]]
LUSERS will display client count statistics. If a remote server is specified, it will request the information from that server. The mask parameter is obsolete but still needs to be used when querying a remote server.
MODE
See the Modes article for more information.
MOTD
/MOTD [servername]
MOTD will display the message of the day for the server name specified, or the local server if there was no parameter.
NAMES
/NAMES [channel]
With no channel argument, NAMES shows the names (nicks) of all clients logged in to the network that do not have +i flag.
With the #channel argument, it displays the nicks on that channel, also respecting the +i flag of each client. If the channel specified is a channel that the issuing client is currently in, all nicks are listed in similar fashion to when the user first joins a channel.
See also: join
NICK
/NICK <nickname>
When first connected to the IRC server, NICK is required to set the client's nickname.
NICK will also change the client's nickname once a connection has been established.
NOTICE
/NOTICE <nick|channel> message
NOTICE will send a notice message to the user or channel specified.
NOTICE supports the following prefixes for sending messages to specific clients in a channel:
@ - channel operators only + - channel operators and voiced users
The nick can be extended to fit into the following syntax:
username@servername
This syntax is used to securely send a notice to a service or a bot.
PART
/PART <#channel> [part message]
PART requires at least a channel argument to be given. It will exit the client from the specified channel. More than one channel may be specified, separated with commas (no spaces).
An optional part message may be given to be displayed to the channel.
PRIVMSG
/PRIVMSG <nick|channel> message /MSG <nick|channel> message
PRIVMSG will send a standard message to the user or channel specified.
PRIVMSG supports the following prefixes for sending messages to specific clients in a channel:
@ - channel operators only + - channel operators and voiced users
The nick can be extended to fit into the following syntax:
username@servername
This syntax is used to securely send a message to a service or a bot.
QUIT
/QUIT [quit message]
QUIT sends a message to the IRC server letting it know you would like to disconnect. The quit message will be displayed to the users in the channels you were in when you are disconnected.
TOPIC
/TOPIC <#channel> [new topic]
With only a channel argument, TOPIC shows the current topic of the specified channel.
With a second argument, it changes the topic on that channel to <new topic>. If the channel is +t, only chanops may change the topic.
TRACE
/TRACE [server | nick] [location]
With no argument, TRACE gives a list of all clients connected to the local server, both users and operators. With one argument which is a server, TRACE displays the path to the specified server, and all servers, opers and -i users on that server. Nonopers can only see themselves, opers and servers in the first two forms. With one argument which is a client, TRACE displays the path to that client, and that client's information. If location is given, the command is executed on that server; no path is displayed.
USERHOST
/USERHOST <nick>
USERHOST displays the username, hostname, operator status, and presence of valid ident of the specified nickname.
If you use USERHOST on yourself, the hostname is replaced with the IP you are connecting from. This is needed to provide DCC support for spoofed hostnames.
VERSION
/VERSION [servername]
VERSION will display the server version of the specified server, or the local server if there was no parameter.
WHO
/WHO <#channel|user>
The WHO command displays information about a user, such as their GECOS information, their user@host, whether they are an IRC operator or not, etc. A sample WHO result from a command issued like "WHO pokey" may look something like this:
#lamers pokey H pokey@ppp.newbies.net :0 Jim Jones
The first field indicates the last channel the user has joined. The second is the user's nickname. The third field describes the status information about the user. The possible combinations for this field are listed below:
H - The user is not away.
G - The user is set away.
* - The user is an IRC operator.
@ - The user is a channel op in the channel listed
in the first field.
+ - The user is voiced in the channel listed.
The next field contains the username@host of the user. The final field displays the number of server hops and the user's GECOS information.
This command may be executed on a channel, such as "WHO #lamers" The output will consist of WHO listings for each user on the channel.
This command may also be used in conjunction with wildcards such as * and ?.
WHOIS
/WHOIS [remoteserver|nick] nick
WHOIS will display detailed user information for the specified nick. If the first parameter is specified, WHOIS will display information from the specified server, or the server that the user is on. This is how to remotely see idle time and away status.
WHOWAS
/WHOWAS <nick>
WHOWAS will show you the last known host and whois information for the specified nick. Depending on the number of times they have connected to the network, there may be more than one listing for a specific user.
The WHOWAS data will expire after time.

