Note from the maintainer of this mirror: if you believe that any parts of these pages need updating, please mail me with the details and I will update the pages accordingly. At this moment, all the pages below are still exact copies of what Geetee gave me.
Note: The mainteinance of the scripting examples is discontinued since I no longer have an interest to continue doing so. The pages will remain here, for now, but that might not be the case in the future. You are free to download all the material on these pages and set a up mirror, or even continue the maintenance of the material by enhancing the examples yourself.
All the material in these examples are for the mIRC version 6.03. It is very likely that some or most of these examples won't work in future versions.
This page contains documented scripting examples for people who want to learn to script and customize their mIRC. While the mIRC help file provides the syntax for commands and events, the help lacks good examples. The purpose of this page is to fill that gap. Every single piece of example code has been requested from me at one point or another. Since I hang on IRCnet #mIRC and #mIRCScripts, I hear lots of these requests. I'm trying to answer these requests from scripter's point of view. Apart from giving the script that does the task, I'm trying to explain how the task is done with as much detail as possible. Even if you didn't want to learn anything about the scripting, the examples on this page should work without big modifications.
Remember that the help file is scripter's best friend. The help file and /help command offer the syntax of every command. When in doubt always check the help. Also the mIRC FAQ is a good source of information for a beginner. For raw numerics, check out the Jeepter's numeric list. For RFCs and technical specifications, check out IRChelp.org. If you have no previous experience in scripting, start with mIRC FAQ section 7.
All the examples are for version 6.03 unless stated otherwise. It is usually easy to port the scripts from one version to another but there should be no reason to do so: just use the latest version.
These are scripts that everyone can use. They don't assume any special privileges.
These are scripts that modify the default output into more informative, colorful, or otherwise more special form.
These are scripts that provide functionality for other scripts or explain the features and syntax of script language.
These are scripts that help channel operators. They always require channel operator privileges.
You can download all the examples and documentation on this page as a compressed .zip file.