mIRC Commands



mIRC

mIRC is a full featured Internet Relay Chat client for Windows that can be used to communicate, share, play or work with others on IRC networks around the world.




Commands

List of mIRC commands available for use.

A     B     C     D     E     F     G     H     I     J     K     L     M     N     O     P     Q     R     S     T     U     V     W     X     Y     Z    




/

/

Recalls the previous command entered in the current window.



!

/!

Recalls the last command typed in any window.



ACTION

/action <action text>

Sends the specifed action to the active channel or query window.
Example: /action sits back and drinks his coffee.
* Johnny sits back and drinks his coffee.
(See also /ME)



ABOOK

/abook [nickname]

Pops up the address book and shows information for the nick if they have been entered into your address book.



ADD

/add [-apuce] <filename.ini>

Loads aliases, popups, users, commands, and events.



ALIAS

/alias [filename] <alias name> <command(s)>

Adds, removes or replaces the given alias to the Tools/Aliases list.
To add a new alias, you can use: /alias /hi /me says hi!
This will add the /hi alias to the bottom of the aliases list.
To remove an alias type /alias /hi



AME

/ame <action text>

Sends the specifed action to all channels which you are currently on.



AMSG

/amsg <text>

Sends the specifed message to all channels which you are currently on.



AUSER

/auser [-a] <level> <nick|address>

Adds a user with the specified access level to the remote users list.



AUTO

/auto [-r] [on|off|nickname[type]|address]

Adds (-r removes) auto-opping of a nick or address or sets it on or off totally. The type determines the used address syntax.



AWAY

/away <away message>

Sets you away leave a message explaining that you are not currently paying attention to IRC.






AWAY

/away

Sets you being back.



BAN

/ban [-ruN] [#channel] <nickname|address> [type]

Bans the specified nick|address from the current or given channel.
If you use the -r switch then /ban removes the ban of that type for that nickname, eg. /ban -r nick 2
If you use the -uN option then mIRC pauses N seconds before removing the ban.

The available types are:
0: *!user@host
1: *!*user@host
2: *!*@host
3: *!*user@*.host
4: *!*@*.host
5: nick!user@host
6: nick!*user@host
7: nick!*@host
8: nick!*user@*.host
9: nick!*@*.host



BEEP

/beep [<number> <delay>]

Locally beeps 'number' times with 'delay' inbetween the beeps.



CHANNEL

/channel

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



CLEAR

/clear [nickname|channel]

Clears the entire scrollback buffer of the (given) window.



CLEARALL

/clearall

Clears all text in all open windows.



CLIPBOARD

/clipboard <text>

Copies the specified text to the clipboard.
Clear all text from the clipboard with /clipboard



CLOSE

/close [-icfgms@] [nick1] [nickN]

Closes all windows of a certain type and nick. If no nick is specified, all windows of the that type will close.

Window types are as follows:
-c for chat
-f for fserve
-g for get
-i for inactive dcc windows
-m for message (query)
-s for send
-@ for custom windows.

If you wanted to close all chat and fserve windows for a specific user:
/close -cf nick



CLOSEMSG

/closemsg <nickname>

Closes the query window you have open to the specified nick.



COPY

/copy -o <filename> <filename>

This will copy a file to another filename or directory.
-o causes the file to overwrite, if a file by that name already exists.



CREQ

/creq [+m|-m] [ask|auto|ignore]

Sets your DCC 'On Chat request' settings in DCC/Options.
The +m|-m switch turns the minimize setting on|off. (This seems to be the same as /sreq)



CTCP

/ctcp <nickname> <ping|finger|version|time|userinfo|clientinfo>

Does the given ctcp request on nickname.



CTCPREPLY

/ctcpreply <nickname> <ctcp> [message]

Sends a ctcp reply message to nickname.



CTCPS

/ctcps [on|off]

Sets the Tools/Remote/Commands setion on or off or checks its status.



DCC SEND

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

Sends the specified file(s) to nick.



DCC CHAT

/dcc chat <nickname>

Opens a dcc window and sends a dcc chat request to nickname.



DDE

/dde [-r] <service> <topic> <item> [data]

Allows DDE control between mIRC and other applications.



DDESERVER

/ddeserver [[on[service name]|off]

To turn on the DDE server mode, eventually with a given service name.



DESCRIBE

/describe <#channel> <action text>

Sends the specifed action to the specified channel window.



DISABLE

/disable <#groupname>

De-activates a group of commands or events in the remote section.



DISCONNECT

/disconnect

Forces a hard and immediate disconnect from your IRC server.



DLEVEL

/dlevel <level>

Changes the default user level in the remote section.



DNS

/dns <nickname|IP address|IP name>

Uses your providers DNS to resolve an IP address.



ECHO

/echo [N] <-s|a|[=]nickname|#channel> <text>

Displays the given text only to YOU on the given place (status, active window, query or channel) in color N.



ENABLE

/enable <#groupname>

Activates a group of commands or events.



EVENTS

/events [on|off]

Shows the Tools/Remote/Events section status or sets it to listening or not.



EXIT

/exit

Forces mIRC to shutdown and close.



FINGER

/finger <nickname|address>

Does a finger on a users address... also if his nick is given.



FLOOD

/flood [<numberoflines> <seconds> <pausetime>]

Sets a crude flood control method.



FLUSH

/flush [levels]

Clears all nicknames from the Remote/users list that are currently not on your channels.



FLUSHINI

/flushini <filename>

Forces the specified INI file to be saved to disk.



FONT

/font

Activates the font selection dialog.



FSEND

/fsend [on|off]

Shows fsends status and allows you to turn dcc fast send on or off.



FSERVE

/fserve <nickname> <maxgets> <homedirectory> [welcome text file]

Opens a fileserver.



GROUPS

/groups [-e|d]

Shows all (enabled or disabled) groups defined in the remote sections.



GUSER

/guser [-a] <level> <nick> [type]

Adds the user to the user list with the specified level and address type.



HELP

/help <keyword>

Brings up the Basic IRC Commands section in the mIRC help file.



IAL

/ial [on|off]

Turns the Internal Address List on and off.



IDENTD

/identd [on|off] [userid]

Activates the IdentD server with the given usedid.



IGNORE

/ignore [-rpcntiu#][on|off|nickname|address] [type]

Ignores a nick or address or sets ignore on or off totally. -r to remove.



INVITE

/invite <nickname> <#channel>

Invites another user to a channel.



JOIN

/join <#channel>

Makes you join the specified channel.



KICK

/kick <#channel> <nickname>

Kicks nickname off a given channel.



LINKS

/links

Shows the entire list of IRC servers in the network you are currently connected to.



LIST

/list [#string] [-min #] [-max #]

Lists all currently available channels, evt. filtering for parameters.



LOAD

/load <-a|p<c|n>|r<u|v|s> <filename.ini>

Loads Aliases, Popups, Remote items or Variables into mIRC.



LOADBUF

/loadbuf [lines] <window> <filename>

Loads lines from a text file into the specified window (like echo).



LOG

/log [on|off] [windowname]

Shows the logging status or sets it on or off for the window.



ME

/me <action text>

Sends the specifed action to the active channel or query window.



MODE

/mode <#channel|nickname> [[+|-]modechars [parameters]]

Sets channel or user modes.



MSG

/msg <#channel|nickname> <message>

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



NAMES

/names <#channel>

Shows the nicks of all people on the given channel.



NICK

/nick <new nickname>

Changes your nickname to whatever you like.



NOTICE

/notice <nick> <message>

Send the specified notice message to the nick.



NOTIFY

/notify [-sh][-ar][on|off|nickname]

Toggles notifying you of a nick on IRC or sets it on or off totally.



ONOTICE

/onotice [#channel] <message>

Send the specified notice message to all channel ops.



OMSG

/omsg [#channel] <message>

Send the specified message to all ops on a channel.



PART

/part <#channel> <message>

Makes you leave the specified channel.



PARTALL

/partall <message>

Makes you leave all channels you are on.



PERFORM

/perform [on|off]

Toggles the File/Options/Perform (on startup) section.




PLAY

/play [-cp q# m# rl# t#] [channel/nick] <filename> [delay|linenumber]

Allows you to play text files to a channel.



POP

/pop <delay> [#channel] <nickname>

Performs a randomly delayed +o on a not already opped nick.



PROTECT

/protect [-ar][on|off|nickname|address]

Toggles protection of a nick or address or sets it on or off totally.



QUERY

/query <nickname> <message>

Open a query window to this user and send them the private message.



QUIT

/quit [reason]

Disconnect you from IRC with the optional byebye message.



QUOTE

/quote [-q] <raw command>

Sends any raw command you supply directly to the server.



RAW

/raw [-q] <raw command>

Sends any raw command you supply directly to the server.



REMOTE

/remote [on|off]

Sets the entire Tools/Remote setion on or off or checks its status.



REMOVE

/remove <c:\path\filename>

Will delete the requested file.



RLEVEL

/rlevel <access level>

Removes all users from the remote users list with the specified access level.



RUN

/run <c:\path\program.exe> [parameters]

Runs the specified program, evt. with parameters.



RUSER

/ruser [-r] <nick[!]|address> [type]

Removes the user from the remote users list.



SAVE

/save [-apuce] <filename.ini>

Saves remote sections into a specified INI file.



SAVEBUF

/savebuf [lines] <window> <filename>

Saves lines from the buffer of a window to a file.



SAY

/say <text>

Says whatever you want to the active window.



SERVER

/server [server # | server address [port] [password]]

(Re)connects to the server or a newly specified one.



SOUND

/sound [nickname|#channel] <filename.wav> <action text>

Sends an action and a fitting sound request.



SPEAK

/speak <text>

Uses the external text to speech program Monologue to speak up the text.



SPLAY

/splay <c:\path\filename.ext>

Plays .wav and .mid files to you (like /wavplay).



SREQ

/sreq [ask|auto|ignore]

Sets your DCC 'On Send request' settings in DCC/Options.



STRIP

/strip [+-burc]

Turns removal of color codes (see Options dialog) on/off.



TIME

/time

Tells you the time on the server you use.



TIMER

/timer[N] <repetitions> <interval in seconds> <command> [| <more commands>]

Activates a timer.



TIMESTAMP

/timestamp [-a|e|s] [on|off] [window]

For turning on/off timestamping in windows or globally. (-s = for status window, -a = for active window, -e = for every window)



TITLEBAR

/titlebar <text>

Sets mIRC's titlebar to the specified text.



TOPIC

/topic <#channel> <newtopic>

Changes the topic for the specified channel.



ULIST

/ulist [<|>]<level>

Lists all users in the remote list with the specified access levels.



UNLOAD

/unload <-a|-rs> <filename>

This unloads the specified alias or remote script file.



URL

/url [-d|on|off|hide]

Opens or closes the URL window that allows you to surf the www parallel to IRC.



UWHO

/uwho [nick]

Pops up the user central with information about the specified user.



VERSION

/version

Tells you the version of the IRC server you use.



WAVPLAY

/wavplay <c:\path\filename.ext>

Locally plays the specified wave or midi file.



WHO

/who <#channel>

Shows the nicks of all people on the given channel.



WHO

/who <*address.string*>

Shows all people on IRC with a matching address.



WHOIS

/whois <nickname>

Shows information about someone in the status window.



WHOWAS

/whowas <nickname>

Shows information about someone who -just- left IRC.



WINDOW

/window

This allows you to create and manipulate custom windows.



WRITE

/write [-cidls] <filename> [text]

To write the specified text to a .txt file.



WRITEINI

/writeini <inifile> <section> <item> <value>

To write to an .ini file.



changed February 10, 2012