
/loadbuf [lines] <window> <filename>
Loads the specified number of lines from the
end of the file of filename into the specified window.
/loadbuf 20 @test info.txt
This loads the last 20 lines of info.txt into
custom window @test.
/loadbuf 10-40 @test info.txt
This loads lines 10 to 40 of info.txt into
custom window @test.
/log [on|off] [windowname]
Turns logging on and off for a window.
/nick <nickname> [alternate]
Changes your current nicknames.
/notify <nickname> <note>
Add a nickname with a note to your notify
list. If you don't specify a nickname, a notify request is sent to the
irc server to update your notify list.
/omsg [#channel] <message>
This and the /onotice command sends the specified
message to all channel ops on a channel. You must be a channel operator
to use these commands. If the #channel isn't specified, then the current
channel is used.
/partall [message]
Parts all of the channels you are currently
on. On certain IRC Servers, you can also specify a message.
/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 is a powerful command that allows you
to send text files, or parts of them, to a user or a channel.
The delay is in milliseconds. If you play files too quickly to a server you will probably be disconnected for flooding. The default setting is 1000 ie. 1 second. Empty lines between text are treated as a delay.
/play c:\text\mypoem.txt 1500
The -s switch allows you to play commands
to the status window while offline. If you do not specify the -s switch
then you must be connected to a server to use the /play command.
The -c switch forces mIRC to interpret lines as actual commands instead of plain text.
The /play command queues requests by users; it does this because if it tried to play all requests at the same time you would probably be disconnected from a server for flooding.
The -p switch indicates that this is a priority play request and should be placed at the head of the queue for immediate playing. The current play request will be paused and will resume once this play request is finished.
The -q# switch specifies the maximum number of requests that can be queued. If the queue length is already larger than or equal to the specified number then the play request is ignored.
/play -q5 c:\text\info.txt 1000
The -m# switch limits the number of requests
that can be queued by a specific user/channel. If the user/channel already
has or exceeds the specified number of requests queued then the play request
is ignored.
/play -m1 info.txt 1000
The above line limits each user to a maximum
of one request at a time and ignores all of their other requests.
Note: The -q# and -m# switches only apply to a /play initiated via a remote definition, not by you.
To combine the above switches you would do:
/play -cpq5m1 info.txt 1000
The -r switch forces a single line to be chosen
randomly from a file and played.
/play -r action.txt 1500
The -l# switch forces the specified line-number
to be read from a file and played.
/play -l25 witty.txt 1500
For both -r and -l# the first line in the
file can be a single number specifying the number of lines in the file,
this speeds up the process of reading the file.
The -t switch forces mIRC to look up the specified topic in the file and play all lines under that topic. For example:
/play -thelp1 c:\help.txt
In the help.txt file you would have:
[help1]
line1
line2
line3
[help2]
...
mIRC will play everything after [help1] and stop when it reaches the next topic header or the end of the file.
You can also use the $pnick identifier in commands which identifies the nick/channel to which you are playing.
To stop the playing of a text file and clear the queue you can use /play stop.
/pop <delay> [#channel] <nickname>
Performs a delayed Op on a nickname. The purpose
of this command is to prevent a channel window filling up with Op mode
changes whenever several users have the same nickname in their auto-op
section.
mIRC will pause around <delay> seconds before performing the Op. If <delay> is zero, it does an immediate Op. Before performing the Op it checks if the user is already Opped. If you do not specify the #channel, the current channel is assumed.
/raw [-q] <command>
Sends any parameters you supply directly to
the server. You must know the correct RAW format of the command you are
sending. Useful for sending commands which mIRC hasn't implemented yet.
The -q switch makes the raw work quietly without printing what it's sending.
This command does the same thing as /quote in other IRC clients.
/raw PRIVMSG nickname :Hellooo there!
/remini <inifile> <section> [item]
Deletes whole sections or single items in
an INI file.
/remini my.ini DDE ServerStatus
This would delete the ServerStatus item, and:
/remini my.ini DDE
Would delete the DDE section.
See the /writeini command below for a related example.
Warning: Do not use this command to modify any of the INI files currently being used by mIRC.
/remove <filename>
Deletes the specified file.
/return [value]
Halts a currently executing script and allows
the calling routine to continue processing. You can also optionally return
a value which will be stored in the $result identifier. The $result can
then be used in the calling routine.
/run [-n] <filename> [parameters]
Runs the specified program with parameters.
/run c:\net\ftp.exe sunsite.unc.edu
This runs the ftp program with the parameter
sunsite.unc.edu.
/run notepad.exe $?
This asks you for a parameter and runs notepad
using the parameter as the filename.
If you specify a non-executable file, mIRC tries to find the program associated with that file and then runs it.
/run info.txt
You can specify the -n switch to minimize
the window of the program being run.
/save <-pscqnm|-ruv> <filename>
Saves the specified popup or remote users/variables
file.
/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
Note: You can only save one section at a time.
/savebuf [-s|-f] [lines] <window> <filename>
Saves the specified number of lines from the
end of the buffer of the specified window into the specified filename.
/savebuf 20 @test info.txt
This saves the last 20 lines in custom window
@test to info.txt.
/savebuf 10-40 @test info.txt
This saves lines 10 to 40 in custom window
@test to info.txt.
The -s switch saves the status window buffer, and the -f switch saves the finger window buffer.
/say <message>
This lets you define an alias that writes
directly to a channel as if you were saying something. So "/say Hello there"
would be the same as just typing "Hello there". This is useful in an alias
when you want to ask the same question (or send the same information) again
and again.
/info /say
Please note that the games server is currently
down and will be offline for a few hours...
Note: You can't use this command in the remote section. Use /msg #channel <message> instead.
/server <server/groupname> [port] [password]
Connects you to a server, first disconnecting
you from the current server.
/server irc.server.co.uk 6667 mypassword
If you type /server with no parameters, mIRC
will connect to the last server you used. If you use the server command
while still connected, you will be disconnected with your normal quit message
and will then connect to the specified server.
You can also use /server N which connects to the Nth server in the server list in the setup dialog.
You can also use /server groupname which will cycle through all the servers in the server list which have that group name until it connects to one of them.
/set and /unset
Defines and undefines your own Variables.
/sline [-a|r] <#channel> <N|nick>
Selects or deselects lines in a channel nickname
listbox. It can select either the Nth nickname in a listbox, or a specified
nickname.
If you do not specify any switches, any existing selections in the listbox are cleared. If you specify the -a switch then the specified is selected without affecting the selection states of other lines. If you specify the -r switch then the specified item is deselected.
/sound
Sends a sound request to another user. See
the Sound Requests dialog for more information.
/speak <text>
Sends the specified text to Monologue (or
Text Assist) which is a program that speaks whatever text is sent to it.
/splay <filename>
Plays the specified .wav or .mid file. If
you do not specify a directory, the sounds directory from the Sound Requests
options dialog is used. You can also use /splay stop to stop a .mid file
from playing.
/sreq [+m|-m] [ask | auto | ignore]
This is the command line equivalent of setting
the DCC Send request radio buttons in the dcc options dialog (see /creq
above). The +m|-m switch turns the minimize setting on|off.
/strip [+-burc]
Turns control code stripping options in Options
dialog on/off.
/strip +bur-c
would turn bold, underline, reverse stripping
on, and turn color stripping off.
/timer[N] [-o] [time] <repetitions> <interval
in seconds> <commands>
Activates the specified timer to perform the
specified command at a specified interval, and optionally at a specified
time.
If you are not connected to a server and you start a timer, it defaults to being an offline timer which means it will continue to run whether you are connected to a server or not.
If you are connected to a server and you start a timer, it defaults to being an online timer, which means that if you disconnect from the server, it will be turned off. You can specify the -o switch to force it to be an offline timer.
/timer1 0 20 /ame is AWAY!
Timer1 will repeat an all channel action every
20 seconds until you stop the timer.
/timer5 10 60 /msg #games
For more info on the latest games do /msg
GaMeBoT info
Timer5 will repeat this message to channel
#games every sixty seconds and stop after 10 times.
/timer9 14:30 1 1 /say It's now 2:30pm
This will wait until 2:30pm and will then
announce the time once and stop.
To see a list of active timers type /timers. To see the setting for timer1 type /timer1. To deactivate timer1 type /timer1 off. To deactivate all timers type /timers off. If you are activating a new timer you do not need to specify the timer number, just use:
/timer 10 20 /ame I'm not here!
And mIRC will allocate the first free timer
it finds to this command.
You can force identifiers to be reevaluated when used in a /timer command by using the format $!me or $!time.
If you wish to turn off a range of timers, you can use a wildcard for the number, for example:
/timer3? off
Will turn off all timers from 30 to 39.
The $ltimer identifier returns the number of the timer that was just started by the /timer command.
/timestamp [-s|a|e] [on|off] [windowname]
Turns time-stamping of events on/off, and
attempts to timestamp most events that occur.
-s = for status window
-a = for active window
-e = for every window
If a windowname is not specified, then the global timstamp switch is turned on or off.
/titlebar [@window] <text>
Sets the main application titlebar. If you
specify a custom @window name, then the titlebar for that custom window
is changed.
/unload <-a|-rs> <filename>
Unloads the specified alias or remote script
file.
/unload -a aliases.ini unloads the alias.ini
file
/unload -rs script.ini unloads the script.ini
file
Note: You can only unload one section at a time.
/url [-d] [on|off|hide]
Pops up the URL list window. If you specify
the [-d] then all "?" marked items will be deleted before showing the window.
You can also use on|off to turn URL catching on or off and hide to hide the URL window if it is currently showing.
See URL Catcher options for other settings.
/uwho [nickname] [nickname]
Pops up the address book and shows the server
information for the specified user. It is the same information you would
get if you did a "/whois nickname".
/window [-abcdelnorsx] <@name> [x y [w h]]
[/command] [popup.txt] [font [size]]
Creates and manipulates custom windows.
/winhelp <filename> [key]
Opens a help file with the specified search
key.
/write [-cida l# s#] <filename> [text]
Writes lines to a text file. For example:
/write store.txt
This line will be appended to the file store.txt
The -c switch clears the file completely before
writing to it, so it allows you to start with a clean slate.
/write -c c:\info.txt
This file will be erased and have this line
written to it
The -l# switch specifies the line number where
the text is to be written. If you do not specify a line number then the
line is added to the end of the file.
/write -l5 c:\info.txt
This line will overwrite the 5th line in the
file
The -i switch indicates that the text should
be inserted at the specified line instead of overwriting it. If you do
not specify any text then a blank line is inserted. If you do not specify
a line number then a blank line is added to the end of the file.
/write -il5 c:\info.txt
This line will be inserted at the 5th line
in the file
The -d switch deletes a line in the file.
If you don't specify a line number then the last line in the file is deleted.
/write -dl5 c:\info.txt
The above command will delete the 5th line
in the file.
The -s# switch scans a file for the line beginning with the specified text and performs the operation on that line.
/write -dstest c:\info.txt
This will scan file info.txt for a line beginning
with the word "test" and if found, deletes it.
If you do not specify any switches then the text is just added to the end of the file.
The -a switch indicates that mIRC should append the line of text you specified to the existing text of the specified line.
/writeini <inifile> <section> [item]
[value]
Writes to files in the standard INI file format.
A part of the mirc.ini file looks like this:
[DDE]
ServerStatus=on
ServiceName=mirc
You could achieve this with /writeini by using:
/writeini my.ini DDE ServerStatus on
/writeini my.ini DDE ServiceName mirc
You can delete whole sections or items by using
the /remini command.

... back ... |
back to my Lobby |
... next ... |