General Commands
Most IRC clients (IRC programs) are written
to use the standard Unix commands. However, not all clients
will accept all the Unix commands. Many clients also use
modifications of the commands or commands that only work
with the particular client. Bear this in mind and read
your specific clients documentation for the commands it
does support. The commands presented here are the ones
most commonly supported by most IRC clients.
| |
| Command |
Description |
Example |
| /join
[#] |
use
to join a channel |
/join
#wn |
| /part
[#] |
use
to leave a channel |
/part
#wn |
| /leave
[#] |
same
as part |
/leave
#wn |
| /quit
(message) |
use
to quit IRC. A message may be added to the
command, but is optional. |
/quit
see ya'll later! |
| /whois
[nick] |
used
to get info on a nick. |
/whois
pipur |
| /whowas
[nick] |
used
to get info on a nick that has just left IRC
or a person who has just changed their nick. |
/whowas
pipur |
| /who
[#] |
shows
nicks, addresses, and optional user info if
available for users on a channel |
/who
#wn |
| /names
[#] |
shows
nicks of users on a channel |
/names
#wn |
| /msg
[nick] [message] |
sends
a private message (whisper) to a user |
/msg
pipur hello there |
| /query
[nick] |
opens
a new window for private dialog with a nick |
/query
pipur |
| /nick
[newnick] |
if
I wanted to change my current nick, pipurur,
to pipur, I would use this command |
/nick
pipur |
| /me
[action describe] |
If
pipur typed this example, it would be displayed
as *pipur waves to Alleghany |
/me
waves to Alleghany |
| /away
[away message] |
use
to tell others you are not currently at your
computer. A message can be included. To set
yourself back, type /away again. |
/away
checking mail! |
| /list |
requests
a list of currently formed channels from the
server. The listing you request is not updated
until you issue the request again. |
/list |
| /invite
[nick] [#] |
use
to invite a nick who is elsewhere on IRC to
join you on a channel. |
/invite
pipur #wn |
| /ignore
[nick/address] |
use
to prevent someone from talking to you. The
persons nick or address may be used. |
/ignore
pipur |
| /kick
[#] [nick] |
used
to kick a user from the channel. You must
be a channel op to use this command. |
/kick
#wn pipur |
| /mode
[nick] +i |
This
is the invisible mode. You are not literally
invisible on IRC. Users on the same channel
as you still see you there.You are invisible
to a user who does a /who or /names. A /whois
nick, however, will show your user information
and the channels you're on. |
/mode
pipur +i |
|
Back to Top
OPERATOR
AND CHANNEL MODE COMMANDS
Channel operators (also known as ops)
control the channel they are on. They will have an "
@ " in front of their nick. They are effectively
the "bosses" of the channel. There are two
ways to become a channel operator. First is by creating
a channel. You create a channel by joining a channel
that does not currently exist. When you do this, the
server sets you as the channel op. The second way is
to be made an operator by an existing operator.
Channel ops maintain control of the channel through
the use of channel mode commands. These are commands
that only channel operators have access to, and can
be used to perform various functions on the channel.
Note:
the use of " # " indicates that the channel
name should be substituted...
i.e. #wn in these examples.
| |
| Mode
Command |
Description |
Example |
| /mode
[#] +o [nick] |
grant
ops to a nick |
/mode
#wn +o pipur |
| /mode
[#] +b [address] |
ban
a nick by their address from the channel.
The proper address format is *!*username@*.host.domain |
/mode
#wn +b *!*jp@*.irc.com |
| /mode
[#] +m |
set
the channel mode to moderate. This means that
only ops can type to the channel. All others
are silenced on the channel. |
/mode
#wn +m |
| /mode
[#] +v [nick] |
used
in conjunction with +m mode. After setting
to moderate, a user can be given permission
to speak by setting the mode to +v. |
/mode
#hi +v pipur |
| /mode
[#] +s |
makes
the channel secret. It will not be shown in
a channel listing. It can still be joined
if the channel name is known. |
/mode
#wn +s |
| /mode
[#] +p |
makes
the channel private. The channel cannot be
joined unless an invite is issued. The users
on the channel can be listed with a /who or
/names command. |
/mode
#wn +p |
| /mode
[#] +i |
makes
the channel invite only. You must be invited
by another nick on the channel to join. |
/mode
#wn +i |
| /mode
[#] +t |
restricts
channel topic changes to operators only. |
/mode
#wn +t |
| /mode
[#] +n |
prevents
messages from outside the channel from being
sent to the channel. This does not affect
personal messages to individual users. |
/mode
#wn +n |
| /mode
[#] +l [number] |
limits
the number of users that may occupy the channel.
In this example, the limit is 6 users. |
/mode
#wn +l 6 |
| /mode
[#] +k [keyword] |
sets
a password for the channel. Cannot join without
typing /join #channelname [keyword] |
/mode
#wn +k shazam |
|
Back to Top
CTCP
and DCC Commands (using pipur in the sample replies)
CTCP stands for Client-To-Client-Protocol. The CTCP
command performs certain client specific functions on
the IRC network. It permits you to find out various
kinds of information and perform some useful functions
on IRC. Many clients allow you to use CTCP to customize
various functions, such as setting up a file server
on your system, or providing a means to grant op status
to users when you are not there to do it yourself. CTCP
commands can also be disabled by the user, so don't
be surprised if you get no information back from a user
when you initiate certain CTCP requests to them.
DCC is Direct Client-to-Client. This is probably one
of the most useful and desirable functions on IRC. With
DCC you can send and receive files and chat directly,
privately, and securely to someone on IRC. The DCC channel
is not subject to lag and is secure because it does
not use the IRC chat channels to transmit information.
It forms a direct link between two users (hence direct-client-to-client).
CAUTION!!
As useful as DCC is, you should be very cautious
about receiving files. NEVER accept a file from someone
you don't know or trust! Just like the real world, there
are virus lurking out there, and there are jerks on
IRC just waiting to send system corrupting files to
unsuspecting users. At the very least, run a virus scan
on a file before you execute it. It will save you lots
of headaches in the long run.
| CTCP
Commands |
| Command |
Description |
You
Might See Something Like This |
| /ctcp
[nick] ping |
ping
is used to determine the amount of time it
takes for your signal (messages) to get to
another nick and back in seconds. It measures
the amount of lag time for the message. Excessive
lag can make communication difficult. |
[pipur
PING reply]: 2 secs |
| /ctcp
[nick] version |
version
is used to query a nicks' client for the type
or name of the IRC program they are running. |
[pipur
VERSION reply]: mIRC16 v3.8 IRC Client K.Mardam-Bey
|
| /ctcp
[nick] finger |
finger
gives additional information about a nick.
Sometimes its not much different from the
/whois [nick] information. |
[pipur
FINGER reply]: Don't judge me by my "looks"
(biscuits@neosoft.com) Idle 3 seconds (Beware,
lest the magic overwhelm you....) |
| /ctcp
[nick] userinfo |
the
userinfo ctcp function usually gives about
the same information as the finger reply. |
[pipur
USERINFO reply]: Don't judge me by my "looks"
(biscuits@neosoft.com) Idle 0 seconds (Beware,
lest the magic overwhelm you....) |
| /ctcp
[nick] clientinfo |
clientinfo
ctcp function will tell you what functions
are active on the nicks' client. Can be useful
if you want to know if things like DCC, ping,
or finger are active on their system. |
[pipur
CLIENTINFO reply]: ACCEPT ACTION CLIENTINFO
DCC ECHO FINGER PING RESUME SOUND TIME USERINFO
VERSION |
| /ctcp
[nick] time |
this
checks the local date and time on a nicks'
computer. I guess it might be useful if you
wanted to know what time it was in Australia,
if your were talking to an Aussie. |
[pipur
TIME reply]: Tue Dec 26 15:38:21 1995 |
|
| DCC
Commands |
| Command |
Description |
| /dcc
chat [nick] |
this
initiates a dcc chat session with the specified
nick. Since the connection does not go through
the IRC network, it is the most secure type
of direct communication with another user.
Depending on your client, you will probably
get some kind of message asking you to accept
the DCC chat request. |
| /dcc
send [nick] [filename] |
this
command initiates a file send to the designated
nick. The file name and the full path of the
file on your system must be specified. |
| /dcc
get [nick] [filename] |
this
command acknowledges and accepts a DCC file
transfer initiated by another user to you.
Once you have typed the GET response, the
file transfer to you will begin. |
| /dcc
close [nick] |
use
this command to refuse a DCC file offer or
chat request sent to you, or stop a DCC transfer
that is in progress, or to close a DCC chat
session. |
| /dcc
list |
use
this function to get a listing of currently
active DCC connections that you have going. |
|
General
Commands / Operator and Channel
Mode Commands / CTCP and DCC Commands
/ Administrator Commands
Back to Top
|