Opentopia Directory Encyclopedia Tools

MIRC

Encyclopedia : M : MI : MIR : MIRC


The correct title of this } is }}}. The initial letter is capitalized due to [Naming conventions #Lower case first lettertechnical restrictions].

mIRC is a shareware Internet Relay Chat client for Windows, created in 1995 and developed by Khaled Mardam-Bey. This was originally its only use, but it has evolved into a highly configurable tool that can be used for many purposes due to its integrated scripting language. Other uses may include:

mIRC is highly popular, having been downloaded nearly eight million times from CNET's [download.com] service as of August 2005. [Nielsen Net Rankings] also rated mIRC as among one of the top 10 most popular Internet applications in 2003. Its popularity may explain why many mIRC users mistakenly believe that the name of their client is also the name of the protocol it uses, thinking they are "connecting to a mIRC server" or "joining a mIRC channel".

It is currently unexplained what the "m" stands for in the name - Khaled's personal FAQ says "It quite possibly stands for 'moo', or perhaps even MU". [link]

Main features

Common criticisms

Slap! function

A famous feature associated with mIRC even though it predates it is the ability to "slap" another user by right-clicking the target's nickname. This results in the line of text "A slaps B around a bit with a large trout". It serves no other function than to send the message, which is merely an execution of the "/action" ("/me") command in IRC. Such an action can warrant a kick or even a ban in many channels.

The sentence "A slaps B around a bit with a large trout" is thought to be a reference to Monty Python's sketch The Fish-Slapping Dance.

This function can be removed by editing mIRC's built-in script.

mIRC Scripting

For novice users this function may be a bit overwhelming, but it is an ingenious addition to the program. With mIRC Scripting (also referred to as "remote") you can make your client do specific tasks on specific events. For instance: You can make your client answer "I'm here!" when someone writes your nick suffixed with a question mark; "yournick?", in either all, or just some specific channels. Here's how you can do it for a specific channel: Say your nick is "wiki" and the channel you're in is "#wiki" (channels in IRC are prefixed with a hash sign)

on *:TEXT:*anyone saw wiki*:#wiki:
If you now change your nick without editing the script manually, the script will not work. Fortunately mIRC provides several functions that makes this no problem at all. To list some from the examples:

on *:TEXT:*:#:
}

Now mIRC's if/else operators are being used. These are logical operators that you find in most scripting/programming languages. In addition we use an asterisk instead of a specific string to indicate that the event shall trigger on ALL text. #wiki has been changed with '#', this has the effect of triggering the event from ANY channel you're in, instead of just '#wiki'. If you use an asterisk '*' instead of a hash sign '#' you'll allow the event to be triggered by queries as well. To allow the event from triggering only by queries, you can use a question mark '?'.

So for queries:


on *:TEXT:*:?:
}

But what if you want the event only to trigger in specific channels? Then we'll use the logical AND operator '&&', and the logical OR operator '||'.


on *:TEXT:*:#:
}

The extra parentheses are necessary to ensure that the logical AND operator "AND" the correct conditions. The rest is hopefully self-explanatory.

If you want to know more about mIRC Scripting, all you have to do is download mIRC, and type "/help" in any window. As an example, if you want to know more about '$1' function, type:

/help $1

For information regarding the events f.i the TEXT event: /help on text

mIRC scripting is not limited to IRC related events and commands. There is also support for COM objects, calling DLLs, sockets and dialogs (for GUIs), amongst other things.

Connecting to Multiple Servers on Startup

mIRC does not have native support for connecting to multiple servers on startup, but this can be emulated with a simple remote script.
on 1:START:

Easter Eggs

mIRC has many eggs hidden in it, including:

See also

External links

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: