From WikiChip
Difference between revisions of "mirc"

(fixed a correction.)
Line 1: Line 1:
 
{{mIRC menu}}{{DISPLAYTITLE:mIRC Scripting Language}}
 
{{mIRC menu}}{{DISPLAYTITLE:mIRC Scripting Language}}
The '''mIRC Scripting Language''', abbreviated as '''mSL''', is an [[event-driven]], [[procedural programming paradigm|procedural]] [[scripting language]]nigg embedded inside the [[Wikipedia:mIRC|mIRC client]]. mSL's main feature is its seamless ability to interact with other IRC clients on IRC in order to perform certain tasks.
 
 
Although widely used to make bots to automatically manage a channel, mIRC can also be modified, via the scripting language mSL, to include a host of new features, such as: basic games, small functions and macros, the ability to play music, and even operate small applications. mIRC scripts are stored in plain text files (.mrc) or as INI files. With the aid of COM scripts and DLLs, mIRC can be used to automate just about everything in the Windows environment.
 
 
== History ==
 
[[Wikipedia:Khaled Mardam-Bey|Khaled Mardam-Bey]] first began development on mIRC in 1994. The original goal for mIRC's creation was to solve the main issues that haunted some of the earlier IRC clients, which were plagued with steep learning curves, limited feature sets, and other notable issues<ref name=pfaq>[http://www.mirc.com/pfaq.html mIRC: Person FAQ]</ref>. The first public version of mIRC was released on the 28th of February, 1995<ref name=pfaq />. The mIRC scripting language grew as commands were added on an ad-hoc basis. Only commands that were directly related to IRC were originally added; however, this slowly changed as the need for more customization grew.
 
 
Throughout the 3.0 - 4.0 versions, mSL gained most of the syntax we are familiar with today. Because of the ambiguous nature of the language, such as no real tokens, the use of [[sigils]] was introduced in order to distinguish meaningful tokens from plain text tokens. The '$' sigil was introduced to indicate that the token is an identifier. The language began gaining traction when variables were added in version 4.0<ref>[http://www.mirc.com/versions.txt Change Log]</ref>. Variables are preceded by the '%' sigil. Later on, in version 4.1, the concatenation operator was added, which looks like '$+'.
 
 
One of the largest updates to the mIRC scripting language took place in version 4.5, which brought {{mirc|evaluation brackets}}, {{mirc|aliases}} in remotes, {{mirc|goto statements}}, {{mirc|string manipulation}}, {{mirc|identifiers}}, {{mirc|conditional statements|if statements}} and {{mirc|operators}}, as well as {{mirc|variables|variable assignment}} arithmetic.
 
 
mIRC 4.6 to 5.0 brought a stream of new {{mirc|identifiers}} and {{mirc|commands}} to perform more complex operations. Version 5.0 also introduced new {{mirc|custom windows}}, which gave scripters the ability to create customized mIRC windows.
 
 
mIRC 5.3 saw the introduction of sockets and {{mirc|picture windows}}, which were introduced in order to allow scripts the ability to have graphical user interfaces. In version 5.5, dialogs were added which allowed native-looking components to be added onto a window, such as buttons, check boxes and list boxes.
 
 
mIRC 7.0 brought about [[Unicode]] support into the language.
 
  
== Topics ==
+
{{topics start}}
{| valign="top"
+
{{topics col}}
|-
 
|
 
 
*mIRC
 
*mIRC
 
**{{mIRC|Introduction}}
 
**{{mIRC|Introduction}}
Line 42: Line 24:
 
** {{mIRC|Text Files}}
 
** {{mIRC|Text Files}}
 
** {{mIRC|Playing music}}
 
** {{mIRC|Playing music}}
| valign="top" |
+
{{topics col}}
 
* Control Structures
 
* Control Structures
 
** {{mIRC|Conditional Statements|If Then Else}}
 
** {{mIRC|Conditional Statements|If Then Else}}
Line 62: Line 44:
 
** {{mIRC|DLL}}
 
** {{mIRC|DLL}}
 
** {{mIRC|SendMessage}}
 
** {{mIRC|SendMessage}}
| valign="top" |
+
{{topics col}}
 
* Additional Resources
 
* Additional Resources
 
** {{mIRC|commands|mSL Commands}}
 
** {{mIRC|commands|mSL Commands}}
Line 75: Line 57:
 
** {{mIRC|unicode|Unicode}}
 
** {{mIRC|unicode|Unicode}}
 
** {{mIRC|ipv6|Ipv6}}
 
** {{mIRC|ipv6|Ipv6}}
|}
+
{{topics end}}
 +
The '''mIRC Scripting Language''', abbreviated as '''mSL''', is an [[event-driven]], [[procedural programming paradigm|procedural]] [[scripting language]]nigg embedded inside the [[Wikipedia:mIRC|mIRC client]]. mSL's main feature is its seamless ability to interact with other IRC clients on IRC in order to perform certain tasks.
 +
 
 +
Although widely used to make bots to automatically manage a channel, mIRC can also be modified, via the scripting language mSL, to include a host of new features, such as: basic games, small functions and macros, the ability to play music, and even operate small applications. mIRC scripts are stored in plain text files (.mrc) or as INI files. With the aid of COM scripts and DLLs, mIRC can be used to automate just about everything in the Windows environment.
 +
 
 +
== History ==
 +
[[Wikipedia:Khaled Mardam-Bey|Khaled Mardam-Bey]] first began development on mIRC in 1994. The original goal for mIRC's creation was to solve the main issues that haunted some of the earlier IRC clients, which were plagued with steep learning curves, limited feature sets, and other notable issues<ref name=pfaq>[http://www.mirc.com/pfaq.html mIRC: Person FAQ]</ref>. The first public version of mIRC was released on the 28th of February, 1995<ref name=pfaq />. The mIRC scripting language grew as commands were added on an ad-hoc basis. Only commands that were directly related to IRC were originally added; however, this slowly changed as the need for more customization grew.
 +
 
 +
Throughout the 3.0 - 4.0 versions, mSL gained most of the syntax we are familiar with today. Because of the ambiguous nature of the language, such as no real tokens, the use of [[sigils]] was introduced in order to distinguish meaningful tokens from plain text tokens. The '$' sigil was introduced to indicate that the token is an identifier. The language began gaining traction when variables were added in version 4.0<ref>[http://www.mirc.com/versions.txt Change Log]</ref>. Variables are preceded by the '%' sigil. Later on, in version 4.1, the concatenation operator was added, which looks like '$+'.
 +
 
 +
One of the largest updates to the mIRC scripting language took place in version 4.5, which brought {{mirc|evaluation brackets}}, {{mirc|aliases}} in remotes, {{mirc|goto statements}}, {{mirc|string manipulation}}, {{mirc|identifiers}}, {{mirc|conditional statements|if statements}} and {{mirc|operators}}, as well as {{mirc|variables|variable assignment}} arithmetic.
 +
 
 +
mIRC 4.6 to 5.0 brought a stream of new {{mirc|identifiers}} and {{mirc|commands}} to perform more complex operations. Version 5.0 also introduced new {{mirc|custom windows}}, which gave scripters the ability to create customized mIRC windows.
 +
 
 +
mIRC 5.3 saw the introduction of sockets and {{mirc|picture windows}}, which were introduced in order to allow scripts the ability to have graphical user interfaces. In version 5.5, dialogs were added which allowed native-looking components to be added onto a window, such as buttons, check boxes and list boxes.
 +
 
 +
mIRC 7.0 brought about [[Unicode]] support into the language.
  
 
== References ==
 
== References ==

Revision as of 15:00, 17 October 2015

Template:mIRC menu

Topics

The mIRC Scripting Language, abbreviated as mSL, is an event-driven, procedural scripting languagenigg embedded inside the mIRC client. mSL's main feature is its seamless ability to interact with other IRC clients on IRC in order to perform certain tasks.

Although widely used to make bots to automatically manage a channel, mIRC can also be modified, via the scripting language mSL, to include a host of new features, such as: basic games, small functions and macros, the ability to play music, and even operate small applications. mIRC scripts are stored in plain text files (.mrc) or as INI files. With the aid of COM scripts and DLLs, mIRC can be used to automate just about everything in the Windows environment.

History

Khaled Mardam-Bey first began development on mIRC in 1994. The original goal for mIRC's creation was to solve the main issues that haunted some of the earlier IRC clients, which were plagued with steep learning curves, limited feature sets, and other notable issues[1]. The first public version of mIRC was released on the 28th of February, 1995[1]. The mIRC scripting language grew as commands were added on an ad-hoc basis. Only commands that were directly related to IRC were originally added; however, this slowly changed as the need for more customization grew.

Throughout the 3.0 - 4.0 versions, mSL gained most of the syntax we are familiar with today. Because of the ambiguous nature of the language, such as no real tokens, the use of sigils was introduced in order to distinguish meaningful tokens from plain text tokens. The '$' sigil was introduced to indicate that the token is an identifier. The language began gaining traction when variables were added in version 4.0[2]. Variables are preceded by the '%' sigil. Later on, in version 4.1, the concatenation operator was added, which looks like '$+'.

One of the largest updates to the mIRC scripting language took place in version 4.5, which brought evaluation brackets, aliases in remotes, goto statements, string manipulation, identifiers, if statements and operators, as well as variable assignment arithmetic.

mIRC 4.6 to 5.0 brought a stream of new identifiers and commands to perform more complex operations. Version 5.0 also introduced new custom windows, which gave scripters the ability to create customized mIRC windows.

mIRC 5.3 saw the introduction of sockets and picture windows, which were introduced in order to allow scripts the ability to have graphical user interfaces. In version 5.5, dialogs were added which allowed native-looking components to be added onto a window, such as buttons, check boxes and list boxes.

mIRC 7.0 brought about Unicode support into the language.

References