This is a list of commands used in IRC.
- The leading "/" is the command indicator. In most cases, you can change this, e.g. to "$", so that "/me" would change to "$me". But "/" is almost always the default.
- Those with <> around them are in most cases required for the command to work properly, and those with [] around them usually do not need to be in there. Always refer to your clients help file(s) for information on commands and what to do, etc.
- Hostmasks come in the form nick!ident@host. They can be used anywhere a nick would be. They also accept the wildcard character *, which matches any string of characters. For example, *!MrWiki@Wikipedia.org would match any nick with that ident and host.
This list is incomplete; you can help by adding missing items. |
me
Syntax:
/me <text>
Displays the nickname, followed by <text>.
For example, when the user "MrWiki" writes "/me is going to go watch TV", it would be seen as "* MrWiki is going to go watch TV" by the channel. The way the output and input of an action may vary from client to client.
It is implemented with the CTCP ACTION command.
kick
Syntax:
/kick <#channel> <nick> [reason]
Used by ops and halfops to remove someone from a channel. They can, of course, rejoin, so this is rarely effective in keeping someone out, but it does serve as a warning.
ban
Syntax:
/ban [#channel] <nick!user@hostmask>
Sets a channel ban on the specified mask. This command will only set the ban, you must kick the user afterwards, however they will not be able to talk while in the channel and in some cases change their nickname. You can also achieve this command using the /mode command shown below with the +b channel mode.
ignore
Syntax:
/ignore <nick!user@hostmask>
Your client will not display lines from the specified user. This command varies from client to client, for more information on what commands an irc client uses see it's help file(s).
topic
Syntax:
/topic [#channel] <text>
Sets the current topic to <text>. Only available to ops when channel mode +t is set.
join
Syntax:
/join <#channel>
Joins <#channel>.
part
Syntax:
/part <#channel> [reason]
Parts <#channel>. You have to be on <channel> to use /part. If no reason is given, a default (usually user-defined) is used.
quit
Syntax:
/quit [reason]
This will make the server disconnect you from it. At times if a server is laggy you won't disconnect right off the bat, so instead some client's have the /disconnect command which forces the client to disconnect from the server. If no reason is given, a default (usually user-defined) is used.
mode
Syntax:
/mode [#channel|nick|nick!ident@host] <+/-> [parameters]
This sets a mode on [#channel], or on the specified user. The required level depends on the modes. Note that you can use it on yourself without any channel modes set on you.
oper
Syntax:
/oper <nick|[nick!]ident@host> <password>
This will make the specified user an IRCop. You must be an IRCop yourself to use this command.
kill
Syntax:
/kill <nick|nick!ident@host> [reason]
This will disconnect a user from the network you issued the kill command on. You must be an IRCop to use this command.
gline
Syntax:
/gline <nick!user@host> [time] [reason]
This requires you to be an IRCop. Once issued it will globally ban anybody matching that hostmask from all servers linked to the IRC network.
Time has to be specified in seconds or on most modern IRCDs can be specified like 1d2h4m5s (1 day 2 hours 4 minutes 5 seconds)
kline
Syntax
/kline <nick!user@host> [reason]
Not to be confused with the above gline command. Kline will only ban the given hostmask from the server the command was issued. If there are more than one server linked to form a network, the user can reconnect and get on another server. You must be an IRCop to use this command.
nick
Syntax:
/nick <nickname>
Sets your nickname to <nickname>.
whois
Syntax:
/whois <nickname>
Displays a short information about the given nick.
query
Syntax:
/query <nickname>
Starts a private chat with the selected nickname.
quote
Syntax:
/quote <command> (or /raw <command>)
Sends the given command directly to the server so it will be not processed by the client program (for example client command "/connect" has different function than server command "/quote connect")
shun
Syntax:
/shun <nickname|+ident@host>
This command requires you to have operator privileges, it forces the server to ignore any incomming commands from the given nick(this includes also common chat, be it public or private) or address except for ping responses and /admin command. The great power of this command includes a feature of NOT notifying the shunned nick about this silent "ban". Thanks to it, the shun command is the best way to get rid of troublemaking persons.