From Scriptwiki
Revision as of 21:27, 30 April 2017 by Cail (talk | contribs) (Creating a new Category page with new name)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


A Microsoft Agent is the technical name for the little animated characters that Microsoft some times uses to help you with an application. For example, the little wizard when setting up Windows XP, or the paper clip in Microsoft Word. mIRC offers some commands to manipulate the Microsoft Agents for use in a script.


The following commands and identifiers allow you to communicate with other DDE-enabled applications.


mIRC Help

mIRC Help is based on mIRC's own help file.

It basically covers everything what can be found from the original help, but is commented and expanded with wiki staff members' knowledge, tutorials and scripting examples.

Syntax used in the help pages (and generally in all scripting/coding in the world):

  • [ ] mean an optional parameter.
  • < > mean a required parameter.
  • a|b means either a or b (sometimes / is used aswell).
  • -abc mean the possible switches

Before adding or modifying anything in here, read the general editing guidelines.

Script Archives

The Script Archive's purpose is to provide examples of how to use certain mIRC or ircd features. Before you try to use those scripts you should read them and make sure that you understand how they work. The comments in these scripts should help you with that.


Our tutorials aim to provide a step-by-step introduction to various mIRC scripting related topics.

Basic IRC commands



Oper commands



QuakeNet is an IRC network, built around the gaming community, and is an organisation that facilitates the communication of many teams and online organisations. Though originally founded as a chat network for gamers, by gamers, QuakeNet welcomes everyone to chat about anything (within its rules). QuakeNet is also currently the largest chat network in the world, with a peak usercount each week of around 180,000 to 190,000 users (as listed by

IRC stands for 'Internet Relay Chat', and is a means for people to talk together in a text-based, real-time environment on the internet.

It has proven itself more popular than other chat systems, and more sophisticated, due in part to the ability to allow people to set up and keep their own rooms, or 'channels'. Almost all IRC server software is open source, therefore even servers are available to anyone to set up. IRC networks are comprised of many linked servers, this means that when talking on the chat network, you can select a server closest to you and still talk to someone connected to a server on the other side of the world (as long as those servers are part of the same network, such as QuakeNet).Due to the nature and availability of IRC software and the protocols, IRC is controlled by no one person or organisation.

Whilst the vast majority of users on QuakeNet are gamers, QuakeNet is not limited to gaming-related topics, and we welcome all users who abide by our rules.

It's very simple to join in the fun. All you need is an IRC 'client' (such as mIRC from, you can then reach QuakeNet by selecting "QuakeNet: random server" from the server list, or by connecting directly to a server listed at



When the IRC server send you information it contains either a command or a RAW numeric. The numerics are a supplement to the normal events (NOTICE/PRIVMSG/MODE/etc.) not a replacement. Because raw events receive the information from the server in its native form, they give you maximum flexibility in regards to how you choose to use it or present it to the user of your script.

To read more about the IRC RFC, look here: RFC 1459


To actually react on numeric-raws, you have to use:

raw [$]<numeric>:<matchtext>:{ commands }

Note that raw-events are just like "normal" events, like On Text or On Notice. That means that you can't use them in an alias or in another event. If you are using $ infront of the numeric, you have to use a regex-based matchtext.


For example you get several numeric raws when you join a channel:

  • 332 - containing the topic of the channel (like when using /topic)
  • 333 - containing the one who has set the topic and when it was set
  • 353 - containing the names on the channel (like when using /names)
  • 366 - containing the message that the list of names has ended
  • 324 - containing the modes that are currently set (like when using /mode)
  • 329 - containing the creation date of the channel

If you e.g. want to echo the creation date of the channel to your status window, you would have to use:

; raw 329 returns: <yournick> <#channel> <creation time in unix format>
raw 329:*: {
 echo -a $2 was created at: $asctime($3)

If you want to halt mIRC's default output in connection with a raw-event, you can use /haltdef. For example:

raw 332:*: {

This example would make mIRC not show the topic of a channel you have joined.