mIRC Commands

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

/action <text>
This sends the text to the channel or query window as an action. (see also /me)
Example: *George is ready to learn more about mIRC

/abook [nickname]
Pops up the address book and shows information for the nick if they have been entered into your address book.

/alias [filename] <aliasname> <commands>
This will add, remove, or replace an alias. 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 <text>
This will
send an action to all channels you're on.

 

/amsg <text>
This will send your line of text to all channels you're on.

 

/auser <level> <nick|address>
This will add a user to the remote users list. Levels can be numbers or letters/words.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/auto [-r] <nickname/address> [#channel1,#channel2,...] [type]
This will add someone to the auto-op list

 

/away <message>
This
sets you "away" with a message that will be seen if other users /msg you while you are away.
 

/away
Just typing "/away",
sets you as no longer away.
 

/
/ban [-ruN] [#channel] <nickname|address> [type]
This will ban the user from the channel using their address.

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 <number> <delay>
Beeps a number of times with a delay.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |
 

/channel
This pops up the channel central window. This only works in a channel.

/clear
Clears the entire scrollback buffer of the current window.

/clearall
This will
clear all text in all open windows.

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

/clipboard
Clears all information from the clipboard.
 
/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 [windowname]
Closes the specified message window.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/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 [+m|-m] [ask | auto | ignore]
This sets DCC Chat request options. The +m|-m switch turns the minimize setting on|off. (This seems to be the same as /sreq)

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

/ctcps [on|off]
This sets the Tools/Remote/Commands section on or off.

 

/dcc send <nick> <file>
This wil send the specified file to nick.

/dcc send <nick> <file1> <file2> <file3> <fileN>
This will initiate multiple dcc send sessions to the specified user.


/dcc chat <nick>
This command
opens a dcc window and sends a dcc chat request to specified nick.

/describe <nick|channel> <message>
This will send text as an action to the nickname or channel. This is similar to typing
/me, except that when/me is used while in a query or channel window, there is no need to specify the target.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |  

/disconnect
This will force you to disconnect from the server, as opposed to the /quit command which sends a
message to the server allowing the server to disconnect from you.
 

/dns <nickname | IP address | IP name>
This uses your ISP's DNS (Short for Domain Name System or Service or Server), to resolve an IP address.


/echo <text>
This will echo your text to the window.


/
exit
This causes mIRC to close.

/finger <nick/address>
"Finger" is a way that a user can provide additional information that other users can access. When using the /finger command, If you specify an address then the address is fingered. If you specify a nickname then the user's address is looked up using a /userhost and then it is fingered.

/flash [-wb] <text>
This flashes the mIRC Icon (in the upper left corner) with the specified text in the titlebar when mIRC is not the active application.
-b makes mIRC beep every second.
-w makes mIRC play the "Flash Sound" specified in the "Event Beeps" section.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/flood [on|off|clear] <bytes> <maxlines> <maxmessages> <ignoretime>
Turns flood protection on and off. (See the Flood section in the mIRC help file for a full description.)
 
/font
This opens the font selection dialog.

 

/fsend [on|off]
This allows you to turn dcc fast send on or off.

 

/fserve <nickname> <maxgets> <homedirectory> [welcome text file]
This opens a fileserver.
(See the file server section of the mIRC helpfile for a complete explanation).

/goto <name>
This is used to jump to different locations in a script.  

/guser [-a] <level> <nick> [type]
This adds the user to the user list with the specified level and address type.

 

/halt
This halts a script and prevents it from processing further. Some users use this as a remote to prevent mIRC from replying to normal ctcp queries, or to halt an alias.

/help [keyword]
Brings up the matching section in the mIRC help file with the specified keyword.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

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

 

/identd [on|off] [userid]
This turns the identd server on or off and changes the identifying userid when a new id is specified

 

/ignore [-rpcntiu#][on|off|nickname|address] [type]
This will add a nick or address to the ignore list or set ignore on or off.

Type /ignore-r to clear the ignore list or /gnore -r nick/address to remove a specified nick..

 

/invite <nickname> <#channel>
This invites another user to a channel.

 

//join [-inx] <#channel>
This will cause you to join the specified channel.
-i causes you join the channel to which you were last invited.
-n and -x minimize/maximize the channel window when you join it.

 

/kick <#channel> <nickname>
This will kick the specified nick off a given channel.

/linesep [-s|window]
Displays the line separator selected in Tools/Options/Extras.

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

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/list <keyword>
This will list all channels with the ‘keyword’ in their name.

 

/load <-a|-pscqnm|-ruvs> <filename>
This will load the specified file to your aliases, popups or remotes.
/load -a aliases.ini loads an aliases file
/load -pc status.ini loads a channel popup
/load -pn status.ini loads a nick 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
The /reload command allows you to reload a file without going through the "on start/load" events in the script.

/loadbuf [lines] [-psglecN] <window> <filename>
Sends the specified number of lines from into the specified window.

/loadbuf 15 @mywindow test.txt
This sends the last 15 lines of test.txt into the custom window named "@mywindow".

/loadbuf 15-20 @mywindow test.txt
This sends lines 15 to 20 of test.txt into custom window named "@mywindow".

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/log
This will return a line that will tell you whether or not you are logging that particular window.

/log <on|off> <window> [-f filename]
Turns logging on and off for a window.

 

/me <text>
This sends the specified action to the active channel or query window.

Example: *George is ready to learn more about mIRC

/mkdir <dirname>
This creates a directory.

 

/mode [#channelname] +o [nick]
This will op the specified nick. Example: /mode #mIRC +o nick.

 

/mode [#channelname] +b [address]
This will ban a nick from a channel, by their address.

Example: /mode #mIRC +b *!*username@*.host.domain
or *!*username@###.###.*
 

/mode [#] +m
This will set the channel mode to "moderated". Only ops and users with voice can send text to the channel.
Example: /mode #mIRC +m.
 

/mode [#] +v [nick]

This gives a user "voice". In a "moderated" channel, users with "voice" are able to send text to a channel. Being voiced has no special powers or privileges attached.
Example: /mode #mIRC +v nick.
 

/mode [#] +s
This makes the channel secret. It will not be shown in a channel listing or in a /whois, unless the person doing the /whois is in the same channel.

Example: /mode #mIRC +s.

 

/mode [#] +p
This makes the channel private. It will not be shown in a channel listing, however /who or /names will still return a list.
Example: /mode #mIRC +p.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/mode [#] +I
This will make the channel "invite only". You must be invited by an op on the channel to join.
Example:/mode

#mIRC +i.

 

/mode [#] +t
This will allow only channel opeators to change the topic.
Example: /mode #mIRC +t.

 

/mode [#] +n
This prevents users from outside the channel from sending messages to the channel.
Example: /mode #mIRC +n.
 

/mode [#] +l [number]
This allows you to limit the number of users that may join the channel. . Example: /mode #mIRC +l 20 (The number of users allowed would be 20).

 

/mode [#] +k [keyword]
This allows you to set a password for the channel. Users must type "/join #channelname keyword" to join.

Example: /mode #mIRC +k itsasecret

 

/msg <#channel|nickname> <message>
This sends a private message to the nick without opening a query window

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

 
/names <#channel>
This shows the nicks of all people on the given channel, unless they are set +i (invisible mode).
If the channel is +s you will get no results.
 

/nick <nickname> [alternate]
Changes your current nicknames. Undernet, currently has a 12 character lmit for nicknames.

 

/notice <nick> <message>
This sends the message privately to the nick.
The notice will appear in the user's acive window, but only he/she will see it.
 

/notify [on|off]
This will turn notify on or off.


/notify <nickname> [note]
This adds a nickname with a note to your notify list.

 

/onotice [#channel] <message> sends the text as a "notice" to all channel ops in the specified channel.
You must be a channel operator to use this command.
 

/omsg [#channel] <message>
This sends a message to all the channel operators in the designated channel. If the #channel isn't specified, then the active channel is used. You must be a channel operator to use this commands.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |


/part <#channel> <message>
This causes you to part the specified channel with a message.
Typing "/part" without a message will simply make you part.
 

/partall <message>
This causes you to part all channels, with a message. If you do not type a message, you will simply part.

/perform [on|off]
Turns the "Perform these commands" section of the Perform dialog on and off.

/play [-scp q# m# rl# t#] [channel/nick/stop] <filename> [delay]
This command will allow you to send text files, or parts of them, to a user or a channel.

The value of the delay is calculated in milliseconds. Playing files too quickly can cause flooding and make you disconnect. The recommended setting is 1000.

/play c:\text\mypoem.txt 1500
-s lets you to play commands to the status window (on or offline).
-c makes mIRC interpret lines as commands instead of plain text.
-p causes the play request to be placed a the head of the queue. (priority). The current play will be paused, resuming when the priority request is done playing.
-q# sets the maximum number of requests that can be queued.
-m# limits the number of requests that can be queued by a specific user/channel.

/play stop
This will stop the playing of a text file and clear the queue.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/pop <delay> [#channel] <nickname>
This will perform a delayed op on a nick in your auto op section. This keeps the channel from being flooded with mode changes if more than one op has the specified nick in their auto op section. mIRC will delay the specified number of seconds before opping the nick. Before performing the op mIRC checks if the user is already opped. If no channel is specified, the current channel is assumed. Setting the delay to zero will cause an immediate op when the user joins.

query <nickname> <message>
This will open a query window to the specified nick. The message is actually sent when you hit "enter".

 

/quit [reason]
This disconnects you from the server and leaves a quit message, if you've specified one.

 

/rename <filename> <newfilename>
This will rename the specified file. This command can also be used to move a file from one directory to another by adding the new path.

/remini <inifile> <section> [item]
This deletes either sections or single items in an .ini file.

/remote
This will check the status of your remotes (on or off).

/remote [on|off]
This sets your remotes on or off.

 

/remove <c:\path\filename
>
This will delete the requested file

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/resetidle [seconds]
This resets your $idle to the number of seconds you specify.

 

/rlevel <accesslevel>
This removes all users of a particular levelfrom the remote users list.

/rmdir <dirname>
This will delete the directory. The directory can only be deleted if it is empty.

 

/run [-n] <filename> [parameters]
Runs the specified program.

/run notepad.exe
This will open notepad.

/run info.txt
This will open info.txt in notepad.
 
/ruser [-r] <nick[!]|address> [type]
This will remove the specified user from the remote users list.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/save <-pscqnm|-ruv> <filename>
This will saves the specified file. (popup, remote, users, variables).
/save -ps status.ini saves the status popup to status.ini
/save -pn nick.ini saves the nickname list popup to nick.ini
/save -ru users.ini saves the user list to users.ini
/save -rv vars.ini saves the variables list to vars.ini

/savebuf [-sga] [lines] <window> <filename>
This will save the number of [lines] from the end of the buffer of the <window> into the <filename>.

/savebuf 15 @window test.txt
This saves the last 15 lines in custom window @window to test.txt.

/savebuf 15-30 @window test.txt
This will save lines 10 to 40 in custom window @window to test.txt.

-s saves the status window buffer
-g switch saves the finger window buffer
-a switch makes it append the text to the end of a file instead of overwriting it.

/saveini
This will update all mIRC-related .ini files with the current settings.
 
/savebuf [lines] <window> <filename>
This saves lines from the buffer of a window to a specified file.

 

/say <text>
This will send whatever you want to say, to the active window.
/Say is particularly useful in an alias, created to easily say something you need to repeat often, without retyping each time.
Example: (this should be in an alias file) /mr /say Hi, $1 $+ . Anything IRC-related we can help you with?

To use the alias, you would type, in the channel: "/mr nick". It should return, "Hi, nick. Anything IRC-related we can help you with?"

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/server [server name] [port]
This will connect you to the specified server.

 

/server –m [server name] [port]
This will opens a new window and connect to a new server without disconnecting from your existing server.

 
/set and /unset
This allows you to set and unset your variables.

/showmirc -nrstx
This command will change how your main mIRC window appears.
-n minimize
-r restore
-s show
-t tray
-x maximize.

/sound [nickname|#channel] <filename.wav> <action text>
This will play a sound to a nick or channel with optional accompanying text..


/speak <text>
Sends the specified text to a "text to speech" program which will speak the text.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/splay [-qwm] <filename>
Plays the specified .wav or .mid file only to yourself. /splay will stop a file that is playing.
-q allows you to queue .wav and .mid sounds for playing.
-wm are used to stop the playing of .wavs, .mids or both. (/splay -wm stop|allow)

/sreq [+m|-m] [ask | auto | ignore]
This allows you to set your DCC options to "ask before accepting", "accepting automatically" (a bad idea if someone is sending a virus), or to "ignore files sent by DCC. The +m and -m will turn the minimize setting on and off.

/strip [+-burc]
Turns control code stripping options in Options dialog on/off.
b is bold
u is underlined
r is reverse
c is color

/strip +bur-c
would turn bold, underline, reverse stripping on, and turn colour stripping off.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/time
This will return the correct time for the server you are using.

 

/timer[N] <repetitions> <interval in seconds> <command> [| <more commands>]
This command activates a timer.

/timers
This will show you a list of your active timers

/timer1
This will show you the settings for timer1. /timer1 off will turn off timer 1

 

/timestamp [-a|e|s] [on|off] [window]
This will turn on/off timestamping in windows.
-s status window
-a active window
-e every window

 

/titlebar <text>
This sets mIRC's titlebar to the specified text.

 

/topic <#channel> <newtopic> changes the topic for the specified channel.

 

/unload <-a|-rs> <filename> unloads the specified alias or remote script file.

a - alias file
rs - remote scripts file

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/updatenl
This command will update the channel nicknames lists and IAL (internal address list).

/url [-d] [on|off|hide]
This causes the URL list to pop up. Using the -d switch, causes all "?" marked items tol be deleted before opening the window.
You can also use on|off to turn "URL catching" on or off and hide the URL window if it is showing.

/uwho [nickname]
This makes the address book pop up, showing server information for the specified user.

/uwho [nickname][nickname]
This shows the same information as /uwho [nickname] , but adds the user's idletime.

/version
This returns the version of the IRC server you are on.
 

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |

/wavplay <c:\path\filename.ext>
This will play the .wav or .mid file that you have specified.

 

/who <*address.string*>
This will return users on the network with a matching address. You will not see users if they are set +i (invisible mode).

 

/whois [nickname]>
This shows you the server information for the specified user in the status window.

/whois [nickname] [nickname]
This shows you the same information as a /whois [nickname], but adds the user's idletime.

 

/whowas <nickname>
This command will sometimes show information about a users who just left IRC. It works for a very short time after they disconnect.

 

/window allows you to create and manipulate custom windows.
See the /custom window section of the mIRC helpfile for more detailed information about /window.

/winhelp <filename> [key]
This opens a help file with the topic you've entered as the key.

/write [-cida l# s#] <filename> [text]
Writes lines to a text file. For example:

/writeini <inifile> <section> [item] [value]
This writes to files in the standard INI file format.

| back to the top | A B C D E F G H I J K L M N O P Q R S T U V W |


http://www.mirchelp.net/

 



 

© all rights reserved.