General IRC Commands
General IRC Commands
The following commands will provide some information about the servers and are available for all users.
Parameters which are inside angle brackets < > are mandatory while parameters which are inside square brackets [ ] are optional.
The IRC commands should apply to some chat applets like the ICQ applet and external IRC clients (mIRC, XChat etc.).
Note that some commands might not work on some networks.
Retrieves administrative information about the IRC server to which you are connected. Often provides an email address for the server administrator and indicates which server administrators are online for that server. If the server name is omitted, then this command will provide information about the server to which you are connected.
Gives administrative information about the server to which you are connected.
Leave a message explaining that you are not currently paying attention to IRC. Whenever someone sends you a MSG or does WHOIS on you, they automatically see whatever message you set. Using /away with no parameters marks you as no longer being away.
/away Gone for now.
This will mark you as away with the given message.
This will mark you as no longer being away (back).
/cycle <#channel1> [#channel2]
Parts and rejoins the channel(s) you are in.
Lets you part and rejoin #ophelp
Lets you part and rejoin #ophelp and #newbies
Displays information about the server that you are connected to including up time, address and version.
/invite <nickname> <#channel>
Invites the given user to the given channel.
/invite Johnny #ophelp
This will invite user Johnny to #ophelp.
/ison <nickname1> [nickname2]...
Checks whether the given nicknames are currently connected (will return the connected nicks).
Enter a channel.
If the channel is empty and not registered you will be automatically oped in it.
Lets you join #ophelp
Lets you part all channels.
/kick <#channel> <nickname>
Forcibly removes (kicks) a user from a channel. This can only be done by a channel operator.
/knock <#channel> <message>
For channels which are invite only, you can "Knock" on the channel to request an invite.
/knock #ophelp Hey, let me in!
Sends a message to the #ophelp chanops only.
This command will show all the servers currently linked together on the network.
/list [#channel] [</>#]
Lists currently available channels matching your search.
Lists all currently available channels (except channels with +s or +p modes).
List all currently available channels with 5 or less users.
List all currently available channels with 100 or more users.
Lists only #ophelp
Lists all currently available channels with "icq" in their name.
Provides Local and Global user information such as current and maximum user count.
Tells the current channel or query about what you are doing.
/me is going to the shop.
If your nickname is "Johnny" it will show * Johnny is going to the shop. in the current open channel or query window.
/MODE <nickname> +/- mode(s)
Sets user modes.
/MODE <#channel> +/- mode(s)
Sets channel modes.
/motd [server name]
Display the current "Message of the day" for the server that you designate. If you leave the server field blank it will return with the current server you are logged onto.
Displays the current "Message of the day" for irc-m05.icq.aol.com.
/msg <nickname|#channel> <message>
Send a private message to the given nickname or messages the given channel (you can message channels without being on them only if they don't have +n mode set on).
/msg Johnny Hey dude!
Sends a private message to user Johnny saying "Hey dude!"
/msg #ophelp Hi all
Writes "Hi all" inside #ophelp
Provides a list of users on the specified channel.
Changes your current nick to the given nick.
/notice <nickname|#channel> <message>
Send a notice to the given nickname or channel (you can notice channels without being on them only if they don't have +n mode set on).
/notice Johnny Hey there..
Sends a notice to user Johnny saying "Hey there..".
/notice #ophelp Hi everybody!
Sends a notice to #ophelp saying "Hi everybody!".
Parts the given channel. If you don't provide a channel you'll part your current open channel.
Will make you part #ophelp
/ping <server> <server2>
The PING command is used to test the presence of an active client or server at the other end of the connection. Servers send a PING message at regular intervals if no other activity detected coming from a connection. If a connection fails to respond to a PING message within a set amount of time, that connection is closed. A PING message MAY be sent even if the connection is active.
Note that this is different from a CTCP PING command..
This will disconnect you from IRC and will give the optional message as the reason for your departure (this message only appears to people who are on the same channels as you).
Disconnects you from the network with the message "Bye!".
This command will display the current local time and date of the server to which you are connected.
/topic <#channel> <new topic>
Changes the topic for the given channel. You can only change the topic when you're Op in the given channel or the channel mode isn't +t.
/topic #ophelp Welcome to #ophelp!
/userhost <nickname1> [nickname2]...
Returns the user@host information for given nicknames.
Shows short information about the given nickname only if one of the two following conditions is met: you are in channel with 'nickname' or 'nickname' is not invisible (+i). When the given parameter is #channel it will display the users and their status in that channel only if one of the two following conditions is met: you are in #channel or #channel is not secret or private (+s or +p).
Shows information about the given nickname.
For a certain amount of time after a client has left the server you can still get information about that client. The information is the same as the information in the WHOIS command.