Site hosted by Angelfire.com: Build your free website today!
 
 
Basic IRC Commands
IRC commands allow you to perform functions such as
maintaining control of a channel and the users on it.
The following list of basic IRC commands should help you get started.
There are also mIRC Commands you can look at.


General Commands
/JOIN #channel
Join the specified channel.

example: /join #irchelp

This will make you join the #irchelp channel. Once on a channel, anything you type will be seen by all the users on this channel. The #irchelp channel is very useful, so say hello and then ask any questions you want. If the channel you specified doesn't exist, a channel with that name will be created for you.

Some channels may also have keys ie. a password, which you need to specify when using the /join command.

example: /join #irchelp trout

This will make you join the #irchelp channel using "trout" as the password.

/PART #channel
Leave a channel.
example: /part #irchelp

/LIST [#string] [-MIN #] [-MAX #]
Lists currently available channels. You can also tell mIRC to show only channels with a minimum and a maximum number of people. If you specify a #string then mIRC will only list channels with that string in their title.

example: /list
example: /list -min 5 -max 20
example /list #love

/ME message
Tells the current channel or query about what you are doing.

/MSG nickname message
Send a private message to this user without opening a query window.

/QUERY nickname message
Open a query window to this user and send them a private message.

/WHOIS nickname
Shows information about someone.

/NICK nickname
Changes your nickname to a new nickname.

/QUIT [reason]
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).

example: /quit That's all folks!

/AWAY [away message]
Leave a message explaining that you are not currently paying attention to IRC. Whenever someone sends you a MSG or does a WHOIS on you, they automatically see whatever message you set. Using AWAY with no parameters marks you as no longer being away.

example: /away off to get something to eat, back in a moment!

/TOPIC #channel newtopic
Changes the topic for the channel.

example: /topic #friendly Oh what a beautiful day!

/INVITE nickname #channel
Invites another user to a channel.
 

Channel and User Commands
If you have Op status, the following commands give you control over both a channel and the users on it.

/KICK #channel nickname
Kicks named user off a given channel.

example: /kick #gb Ed

/MODE #channel|nickname [[+|-]modechars [parameters]]
This is a powerful command that gives channel operators control of a channel and the users on it.

Channel modes
------------------------
ModeChar Effects on channels
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
b <person> ban somebody, <person> in "nick!user@host" form
i channel is invite-only
l <number> channel is limited, <number> users allowed max
m channel is moderated, (only chanops can talk)
n external /MSGs to channel are not allowed
o <nickname> makes <nickname> a channel operator
p channel is private
s channel is secret
t topic limited, only chanops may change it
k <key> set secret key for a channel

User modes
-------------------
ModeChar Effects on nicknames
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
i   makes you invisible to anybody that does not know the exact spelling of your
    nickname
o  IRC-operator status, can only be set by IRC-ops with OPER
s receive server notices
v gives a user a voice on a moderated channel

Here a few examples of the MODE command:

To give someone Op status: /mode #channelname +o nickname
Giving someone Op status means giving them control over the channel and the users on it. Give this out sparingly and to people you TRUST.

To op several people: /mode #channelname +ooo nick1 nick2 nick3
To de-op someone: /mode #channelname -o nickname
To ban someone: /mode #channelname +b nickname (or user address)

example: /mode #animals +b Jiminy
example: /mode #tree +b joe@bloggs.edu

To Unban someone: /mode #channelname -b nickname (or user address)

example: /mode #gb -b Ed

To Make a channel invite only: /mode #channelname +i
You must now invite a user for them to be able to join your channel.
There many more commands but this list should help you get started. To learn more about IRC commands you should download an IRC FAQ.
 

mIRC Commands
The following commands are mostly unique to mIRC, though some are only modifications or extensions of standard IRC commands.

/abook [nickname]
Pops up the address book and shows information for the specified nickname if it exists.

/alias [filename] <aliasname> <commands>
Adds, removes, replaces aliases; it is limited to single line aliases and will not affect mutiple line definitions. To add a new alias, you can use:

/alias /moo /me moos!
This will add the /moo alias to the top of the aliases list. To remove an existing aliases:

/alias /moo

To add an alias to a specific alias file, you would use:

/alias moo.txt /moo /me moos!

If you don't specify a filename, it defaults to using the first filename in which the alias exists, or if it doesn't exist then it uses the first loaded aliases file.

/amsg <message>
This and the /ame command send the specifed message or action to all channels which you are currently on.

/auser
This and remote-related commands are listed in the remote section.

/auto [-r] <nickname/address> [#channel1,#channel2,...] [type]
Adds someone to the auto-op list, see the Control section for a full description.

/ban [-uN] [#channel] <nickname|address> [type]
Bans someone from the current channel using their address. To do this, it first does a /userhost on the user, which gives it the user's address, and then it does a /mode # +b <user address>.

If you specify the -uN option then mIRC pauses N seconds before removing the ban.

If you do not specify a ban type, then mIRC uses the whole nick!*user@host.domain to do the ban. If you are banning an IP address then a wild card replaces the last number of the IP address. If you are on the channel then the #channel specification is not necessary.

If you specify a wildcard address it is used as-is, if you specify a full address then the type mask is applied to it.

For a list of ban types see the $mask identifier in the Identifiers section.

Note: This command uses the Internal Address List maintained by mIRC.

/beep <number> <delay>
Beeps a number of times with a delay.

/channel
Pops up the channel central window (only works in a channel)

/clear [windowname]
Clears the entire scrollback buffer of the current window. If you specify a window name, that window's buffer will be cleared.

/clipboad <text>
Copies the specified text to the clipboard.

/close [-icfgms] [nick1] ... [nickN]
Closes all windows of the specified type and nicknames. If no nicknames are given, all windows of the specified type are closed. The type of window is denoted by c for chat, f for fserve, g for get, i for inactive dcc windows, m for message (query), s for send.

If you wanted to close all chat and fserve windows for user Nerp:

/close -cf Nerp
/closemsg [windowname]

Closes the specified message window.

/creq [+m|-m] [ask | auto | ignore]
This is the command line equivalent of setting the DCC Chat request radio buttons in the dcc options dialog (see /sreq below). The +m|-m switch turns the minimize setting on|off.

/ctcpreply <nick> <ctcp> [message]
Sends a reply to a ctcp query.

/ctcpreply goat HELP no help available.

/dcc send <nickname> <filename>
Initiates a sending a file to another user. It can take multiple file names, the format is:

/dcc send <nickname> <file1> <file2> <file3> ... <fileN>

This will initiate multiple dcc send sessions to the specified user.

/dde [-r] <service> <topic> <item> [data]
Sends information to other applications. See the DDE Control section for a full explanation.

/disconnect
Forces a disconnect from a server. This is different from the /quit command which sends a quit message to the server and waits for the server to disconnect you.

/dns [nick|address]
Resolves an address. If mIRC sees a "." in the name you specify it assumes it's an address and tries to resolve it. Otherwise it assumes it's a nickname and does a /userhost to find the users address and then resolves it. If you give it an IP address, it looks up the host name.

You can queue multiple /dns requests, and you can view the current queue by using /dns with no parameters.

Note: because of the way the DNS lookup works, any DNS related functions currently in progress eg. connecting to a server, must be resolved before subsequent requests. This means that if a prior DNS is having problems resolving, subsequent DNSs have to wait until it times out before they can be resolved.

/dqwindow [on|off|show|hide|min]
Manipulates the dedicated query window.

/echo [colornumber] <-sa|#channel|[=]nick> <text>
Prints text in the specified window using the specified colour (0 to 15).

/echo 3 #mIRC Testing
would print "Testing" in the colour green in channel window #mIRC, assuming it's already open.

To print in the status window use the -s switch, to print in the currently active window use the -a switch.

Note: This text is only printed in your window, it isn't sent to the server.

/editbox [-s|-a|[=]window] <text>
Fills the editbox of the current window with the specified text.

/exit
Close down mIRC and exit.

/finger <nick/address>
If you specify an address then the address is immediately fingered. If you specify a nickname then the users address is looked up using a /userhost and then it is fingered.

/flood [on|off|clear] <bytes> <maxlines> <maxmessages> <ignoretime>
Turns flood protection on and off. See the Flood section for a full description.

/flushini <filename>
Flushes the specified INI file to the hard disk. INI files are cached in memory, so you may want to do this to make sure that your INI is updated properly.

/font [-a|-s|window] <fontsize> <fontname>
This allows you to change the font for the current window. If no parameters are specified, the font dialog pops up, otherwise the specified parameters are used.

/fsend [on | off]
Turns DCC fast send on or off.

/fserve
Initiates a fileserver session to another user. See the File Server section.

/goto <name>
This is used to jump to different points in a script. See the aliases section.

/halt
Halts a script and prevents any further processing. You can use this in remote commands to prevent mIRC from replying to normal ctcp messages, or in aliases to halt an alias, and any calling aliases, completely.

/help [keyword]
Brings up the Basic IRC Commands section in the mIRC help file with the specified keyword.

/ial [on|off]
Turns the Internal Address List on and off.

/identd [on|off] [userid]
Turns identd server on and off, and changes to a new userid if it is specified.

/ignore [-rpcntiu#] <nickname/address> [type]
Allows you to ignore messages from the specified nick, see the Control section for a full description.

/links
Retrieves the servers to which your current server is linked.

/load <-a|-pscqnm|-ruvs> <filename>
Loads the specified alias, popup, or script.

/load -a aliases.ini loads an aliases file
/load -pc status.ini loads a channel popup
/load -pn status.ini loads a nickname list popup
/load -ru users.ini loads a users file
/load -rv vars.ini loads a variables file
/load -rs script.ini loads a scripts file

Note: You can only load one section at a time.


... back ...

back to my
Lobby

... next ...