From WikiChip
Search results

  • {{mirc guide}}{{title|mIRC Scripting Language}}[[File:mirc logo.png|left|64px]] ...ogramming paradigm|procedural]] [[scripting language]] embedded inside the mIRC client. mSL's main feature is its seamless ability to interact with other [
    10 KB (1,705 words) - 17:47, 1 August 2023
  • {{mirc title|String Manipulation}} <syntaxhighlight lang="mIRC">var %x = This is an example string.</syntaxhighlight>
    9 KB (1,360 words) - 13:07, 11 February 2019
  • {{mirc title|Token Manipulation}} ...separated by a single, unique character. mIRC provides an extensive set of identifiers and commands to help you manipulate this list of tokens.
    11 KB (1,776 words) - 18:20, 31 January 2024
  • {{mirc title|Aliases}} <syntaxhighlight lang="mIRC">;single-line alias
    18 KB (2,987 words) - 14:43, 21 March 2023
  • {{mirc title|Conditional Statements}} ...as a false [[truth value]] if it's {{mIRC|$null}}, [[$false - identifier - mIRC|$false]], or 0.
    7 KB (1,092 words) - 07:27, 8 February 2020
  • {{mirc title|While Loops}} <syntaxhighlight lang="mirc">while (<condition>) {
    10 KB (1,703 words) - 07:36, 26 March 2021
  • {{mirc title|Operators}} ...s or keywords that perform specific operations on two or three operands in mIRC.
    10 KB (1,645 words) - 15:06, 19 July 2020
  • {{mirc title|Custom Windows}} Prior to mIRC 5.5, '''Custom Windows''' was the main method for making a GUI (graphical u
    8 KB (1,339 words) - 13:43, 29 March 2020
  • {{mirc title|INI Files}} ...nd [[Hash Tables - mIRC|hash tables]]. If speed is needed, [[Hash Tables - mIRC|hash tables]] are a much superior choice.
    5 KB (715 words) - 15:12, 2 October 2023
  • {{mirc title|mSL Injection}} ...y to dynamically evaluate code on the run. With mSLs powerful commands and identifiers, the result of a code injection attack can be disastrous. It is important t
    26 KB (4,222 words) - 08:43, 21 January 2023
  • {{mirc title|/aline Command}} <syntaxhighlight lang="mIRC">Alias Example {
    2 KB (376 words) - 20:57, 17 March 2023
  • {{mirc title|/bcopy Command}} <syntaxhighlight lang="mIRC">Alias Example {
    5 KB (754 words) - 17:30, 20 January 2024
  • {{mirc title|/beep Command}} * '''[number]''' - Number of beeps, default to 3 if not specified.
    891 bytes (123 words) - 16:39, 15 February 2024
  • {{mirc title|/bset Command}} <syntaxhighlight lang="mIRC">Alias Example {
    9 KB (1,432 words) - 18:47, 2 May 2023
  • {{mirc title|/bwrite Command}} * '''-t''' - Treats everything as plain text (i.e. $identifiers and %variables (but not contents of %variables) are evaluated, but binary v
    3 KB (411 words) - 18:47, 2 May 2023
  • {{mirc title|/comopen Command}} ...programmatic identifier with the assigned name. Your script should check {{mIRC|$comerr}} after opening the connection to make sure the connection was esta
    2 KB (203 words) - 03:42, 9 December 2017
  • {{mirc title|Introduction}} ...ence is people with no knowledge, or very limited knowledge, of the [[mirc|mIRC scripting language]].
    25 KB (4,323 words) - 15:48, 1 August 2019
  • {{mirc title|/dialog Command}} ...ot return a value when the dialog closes. As a result it does not halt the mIRC scripting engine, letting other script to keep processing. Dialogs can be k
    3 KB (443 words) - 12:29, 12 July 2020
  • {{mirc title|/did Command}} ...o change multiple ids at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9
    2 KB (435 words) - 12:46, 12 July 2020
  • {{mirc title|/window Command}} ...to create [[Custom Windows - mIRC|custom windows]] and [[Picture Windows - mIRC|picture windows]] (using the -p switch), or to manipulate an existing custo
    6 KB (1,034 words) - 05:58, 17 August 2022
  • {{mirc title|/while Command}} The '''/while command''' is a [[While Loops - mIRC|construct in the mIRC scripting language]] that can perform repetitive operations. The block of s
    2 KB (365 words) - 06:58, 29 December 2023
  • {{mirc title|/echo Command}} * '''-r''' - Applies the strip settings to the text (as defined in mIRC Options / IRC / Messages).
    8 KB (1,170 words) - 04:39, 10 January 2018
  • {{mirc title|/flush Command}} ...on is removed from the remote user list. If you do not specify levels then mIRC clears all nicks from the remote user list that do not exist on channels yo
    1 KB (161 words) - 21:59, 21 January 2024
  • {{mirc title|/var Command}} ...ault /var creates local variable, this can be changed via the -g switch ({{mIRC|/set}} command can be used to set global variables by default).
    7 KB (1,162 words) - 05:34, 22 January 2024
  • {{mirc title|/inc Command}} ...numeric value of a variable by a given value. If [value] is not specified, mIRC will increase the variable by one. The /inc command works with both positiv
    2 KB (378 words) - 17:03, 17 February 2022
  • {{mirc title|/maxdepth Command}} <syntaxhighlight lang="mIRC">example {
    1 KB (178 words) - 22:54, 3 May 2023
  • {{mirc title|/goto Command}} ...within the same event, alias, or menu. The label must have been parsed by mIRC previously inside that event/alias/menu or the label is considered undefine
    2 KB (270 words) - 19:24, 15 June 2017
  • {{mirc title|/haltdef Command}} ...only have an effect inside an event using the '^' prefix, and will prevent mIRC from performing his default action.
    1 KB (202 words) - 10:13, 8 February 2021
  • {{mirc title|/msg Command}} ...specific channel or person. Many networks support multi-target messages - mIRC will not display the message in all the targets like it would with individu
    2 KB (227 words) - 03:59, 5 August 2021
  • {{mirc title|/scon Command}} ...will continue to execute on that connection. When a command is specified, mIRC will execute the command on the specified connection or connections based o
    3 KB (361 words) - 09:32, 28 March 2020
  • {{mirc title|/set Command}} ...and, set cannot assign a value to multiple variables at once. It support {{mirc|variables#Math_Operations|one math operation}}.
    4 KB (629 words) - 18:04, 12 July 2020
  • {{mirc title|/timer Command}} * '''[time]''' - Time to activate the timer, for example '15:30' for 3:30PM
    5 KB (800 words) - 06:35, 14 August 2023
  • {{mirc title|/tokenize Command}} ...ommand replaces the existing $0 through $N'th tokens, filling $1 $2 ... $N identifiers with portions of a string, divided into tokens based on the location of the
    3 KB (396 words) - 23:06, 3 May 2023
  • {{mirc title|/unset Command}} ...''/unset command''' removes any variables by their specified names. If a {{mirc|wildcard}} pattern was specified, all variables matching that pattern will
    3 KB (388 words) - 14:14, 20 October 2018
  • {{mirc title|Evaluation Brackets}} ...are a mechanism by which a program can alter the natural behavior of the [[mIRC]] [[interpreter]].
    16 KB (2,633 words) - 12:09, 22 November 2023
  • {{mirc title|Component Object Model}} ...specification will be able to use it. mSL offers a variety of commands and identifiers to handle COM objects.
    27 KB (3,608 words) - 11:41, 25 October 2018
  • {{mirc title|/dline Command}} <syntaxhighlight lang="mIRC">Alias Example {
    1 KB (235 words) - 20:30, 17 March 2023
  • {{mirc title|Picture Windows}} ...|commands]], [[list of identifiers - mIRC|identifiers]], and [[on events - mIRC|events]] for manipulating them. Picture windows provide an alternative mean
    11 KB (1,875 words) - 14:15, 20 October 2018
  • {{mirc title|$dialog Identifier}} ...sed as an identifier in order to get properties for a specific [[Dialogs - mIRC|dialog window]].
    5 KB (755 words) - 14:59, 20 September 2017
  • {{mirc title|$? Identifier}}{{Deprecated feature|new={{mIRC|$input}}}} <source lang="mIRC">
    3 KB (566 words) - 16:23, 4 October 2017
  • {{mirc title|Dialogs}} ...inside of mIRC. The {{mIRC|/dialog}} command opens new dialogs, and the {{mIRC|dialog components}} are the objects within the dialog, such as buttons, lab
    9 KB (1,523 words) - 11:41, 25 August 2023
  • {{mirc title|$did Identifier}}The '''$did''' identifier allows you to get the sett ...RC|alias]] called ''/whatEvents'' which will open up the local [[Dialogs - mIRC|dialog]] ''whatEvents'':
    4 KB (557 words) - 18:03, 21 February 2024
  • {{mirc title|/updatenl Command}} <syntaxhighlight lang="mIRC">on !*:part:#example:{
    1 KB (173 words) - 19:46, 15 June 2017
  • {{mirc title|/iline Command}} <syntaxhighlight lang="mIRC">Alias Example {
    2 KB (329 words) - 20:34, 17 March 2023
  • {{mirc title|/scid Command}} ...will continue to execute on that connection. When a command is specified, mIRC will execute the command on the connection specified by the Connection ID o
    3 KB (386 words) - 09:32, 28 March 2020
  • {{mirc title|$vcmd Identifier}}The '''$vcmd''' identifier is used to retrieve comm <pre>//echo -a $vcmd(3)</pre>
    984 bytes (144 words) - 18:11, 22 September 2017
  • ...'' can be used to get the current status of the voice command listener for mIRC. <span style="display: inline-block; width: 30px;">'''3'''</span>Service is on, and listening for commands.
    979 bytes (131 words) - 18:13, 22 September 2017
  • {{mirc title|$alias Identifier}}'''$alias''' can be used to return the filename of <pre>//echo -a $alias(3)</pre>
    1 KB (186 words) - 00:09, 24 August 2021
  • {{mirc title|$bytes Identifier}}'''$bytes''' allows you to format a number of byte * '''3''' - Returns the result in 3-digit format.
    4 KB (622 words) - 07:02, 19 August 2023
  • ...ier}}'''$calc''' can be used to perform mathematical calculations from the mIRC editbox line, or from inside of a custom script. The accuracy of results is ...' can also be used to calculate variables in mIRC, as well as other custom identifiers that return numerical values.
    10 KB (1,480 words) - 08:16, 2 February 2024
  • ...r}}'''=$nick''' is a special identifier. Inside the {{mIRC|on chat}} and {{mIRC|on serv}} events, if you want to send a message to the dcc chat/serv window <source lang="mIRC">; Event messages a user back inside of a DCC Chat
    1 KB (233 words) - 16:09, 21 April 2019
  • ...returns the target of an event. For instance, when a window closes, the {{mIRC|on close}} event triggers and '''$target''' is filled with the window name <source lang="mIRC">; When any window is closed, echo the window name
    2 KB (291 words) - 16:08, 22 September 2017
  • {{mirc title|On Dialog - Events}} ...''' event listens for events which take place inside of custom [[Dialogs - mIRC|dialog windows]].
    6 KB (809 words) - 20:13, 15 June 2017
  • {{mirc title|On Keydown - Events}} ...triggered when a key is pressed down inside of a custom [[custom windows - mIRC|@window]].
    5 KB (710 words) - 07:46, 6 February 2024
  • ...s the key code of the key being pressed inside an {{mIRC|on keydown}} or {{mIRC|on keyup}} event. ...is incorrect, inside {{mirc|on char}}, it only makes sense to check for {{mirc|$keychar}}
    2 KB (244 words) - 15:42, 12 August 2022
  • ...during an {{mirc|on keydown}}, or an {{mirc|on keyup}} event inside of a {{mirc|custom windows|custom @window}}, it returns $true if the key is held down, Create an alias that launches a custom, [[Picture Windows - mIRC|picture window]] which listens for key presses and displays the key value p
    2 KB (237 words) - 15:36, 13 February 2024
  • ...rc|on keydown}}, {{mirc|on keyup}} or {{mIRC|on char}} event inside of a {{mirc|custom windows|custom @window}}, it returns the characters that was inputte ...' This identifier is broken by design inside the {{mirc|on keydown}} and {{mirc|on keyup}} events.
    3 KB (401 words) - 15:36, 12 August 2022
  • {{mirc title|On Keyup - Events}} ...en a key has been pressed, but subsequently released, inside of a custom {{mirc|custom windows|@window}}.
    3 KB (441 words) - 07:46, 6 February 2024
  • {{mirc title|/sockread Command}} ...only understands {{mIRC|$lf}} terminated line (any {{mirc|$cr}} before a {{mirc|$lf}} is removed).
    12 KB (2,025 words) - 19:04, 2 May 2023
  • ...fier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Chat]] windows. | stamp | Returns either {{mIRC|$true}}, or {{mIRC|$false}} depending on if time-stamping is enabled or disabled.
    1 KB (207 words) - 11:18, 1 October 2019
  • ...fier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows, even if the transfers completed. ...ges nick, the $get is still associated with the old nick unless you use: {{mIRC|/dcc|/dcc nick -sgcf <oldnick> <newnick>}}
    3 KB (470 words) - 16:54, 3 May 2023
  • {{mirc title|$count Identifier}}The '''$count''' identifier allows mIRC to return the total count of a matching substring, or set of substrings to <source lang="mIRC">//echo -a Result: $count(My string to match,str)</source>
    1 KB (160 words) - 14:47, 20 September 2017
  • {{mirc title|/toolbar Command}} ...uch as Connect, Notify, etc. may not always work since they are managed by mIRC. They can however be deleted.
    3 KB (571 words) - 16:29, 12 July 2020
  • {{mirc title|File Handling}}'''File Handling''' allows you to manipulate files on ...u must be familiar with text file operations such as {{mIRC|/write}} and {{mIRC|$read}}.
    5 KB (817 words) - 14:15, 30 December 2019
  • {{mirc title|RegEx}} mIRC uses the 8bits version of [[PCRE library]] to implement regex with the foll
    27 KB (4,356 words) - 20:17, 29 June 2021
  • {{mirc title|Unicode}} This page does not attempt to describe what [[Unicode]] is but rather how mIRC handles it (or in some cases doesn't handle it). The technical terms are om
    10 KB (1,506 words) - 10:13, 17 February 2024
  • {{mirc title|$* Identifier}}'''$*''' is a construct, not an identifier, it allows <syntaxhighlight lang="mIRC">var %list a b c d,%a 1
    4 KB (695 words) - 14:42, 16 February 2020
  • {{mirc title|$address Identifier}}'''$address''' return the address of the user as '''Note''': $address returns $null string if the {{mIRC|$ial}} doesn't contain the address for this nick.
    5 KB (757 words) - 06:39, 25 April 2023
  • {{mirc title|$channel Identifier}}{{Deprecated feature|new={{mIRC|$chan}}}}'''$channel''' returns informations about channels. See {{mIRC|$chan}} for more informations.
    619 bytes (76 words) - 14:34, 20 September 2017
  • {{mirc title|$sockerr identifier}}'''$sockerr''' returns the sock error number if * 3: failure establishing socket connection (W)
    2 KB (231 words) - 02:49, 25 April 2023
  • {{mirc title|Optimization}} mIRC Script Language is an interpreted language - which means that mIRC has to work out what each statement means each and every time it is execute
    13 KB (2,047 words) - 07:44, 23 February 2023
  • {{mirc title|On Parseline - Events}} ...ctcp}} also uses PRIVMSG with a special encoding to indicate it is CTCP. {{mIRC|/me}} action messages are a specific type of CTCP message etc. '''''Use of
    3 KB (513 words) - 19:27, 5 October 2018
  • {{mirc title|$gettok Identifier}} '''C:''' - The {{mIRC|$asc|$asc()}} value which splits TEXT into tokens<br />
    4 KB (741 words) - 07:37, 30 October 2017
  • {{mirc title|$len Identifier}}'''$len(text)''' returns the number of characters in <source lang="mIRC">
    553 bytes (78 words) - 17:16, 20 September 2017
  • {{mirc title|$numtok identifier}}'''$numtok''' returns the number of $asc(C)-delim '''C:''' - The {{mIRC|$asc|$asc()}} value which splits LIST into tokens<br />
    1 KB (175 words) - 08:10, 21 September 2017
  • {{mirc title|$puttok identifier}}'''$puttok''' replaces the Nth $asc(C)-delimited '''C:''' - The {{mIRC|$asc|$asc()}} value which splits TEXT into tokens<br />
    2 KB (297 words) - 08:05, 21 September 2017
  • {{mirc title|$hypot Identifier}}'''$hypot''' returns the hypotenuse for the other <source lang="mIRC">$hypot(<A>,<B>)</source>
    963 bytes (135 words) - 17:01, 16 August 2018
  • {{mirc title|$atan Identifier}}'''$atan''' returns the arctangent of N. ...triangle where opposite side is 3 and adjacent is 4, angle is $atan( $calc(3/4) ).deg degrees
    2 KB (229 words) - 07:09, 21 September 2017
  • {{mirc title|$biton Identifier}}'''$biton''' returns N with the Bth bit set to 1. <pre>//var %n 10 | echo -a $biton(%n,3)
    2 KB (241 words) - 13:14, 30 October 2017
  • {{mirc title|$rgb Identifier}}'''$rgb''' converts between R,G,B vs color-number, o ;Method#3 - Return RGB Color Number for System Color Settings
    2 KB (326 words) - 13:58, 22 September 2017
  • {{mirc title|$compress Identifier}} ...ression method N, where N = 1 is raw, N = 2 is zlib (the default), and N = 3 is gzip. (0 uses default m2, invalid 4+ uses m3)
    4 KB (608 words) - 14:46, 22 October 2017
  • {{mirc title|$sqrt identifier}}'''$sqrt''' returns the square root. <source lang="mIRC">$sqrt(<N>)</source>
    863 bytes (122 words) - 19:49, 21 October 2018
  • {{mirc title|$str identifier}}'''$str''' duplicates the specified text string n ti <source lang="mIRC">
    1 KB (148 words) - 15:55, 22 September 2017
  • {{mirc title|$strip identifier}}'''$strip''' removes colors and/or other control-c | c | Colors $chr(3) followed by N[,N]
    1 KB (218 words) - 21:05, 22 January 2022
  • {{mirc title|$uptime identifier}}'''$uptime''' returns the number of milliseconds <pre>$uptime(<mirc> | <server> | <system>[,N])</pre>
    1 KB (206 words) - 17:26, 22 September 2017
  • {{mirc title|$envvar Identifier}} ...returns the value of the 3rd variable not the value of the variable named 3.
    1 KB (187 words) - 15:04, 20 September 2017
  • {{mirc title|$bitoff identifier}}'''$bitoff''' returns N with the Bth bit set to 0 The /window switch -wN uses bit settings, with default 3 if N not used.
    1 KB (202 words) - 13:15, 30 October 2017
  • {{mirc title|$log identifier}}'''$log''' returns the natural logarithm (base e) of There may be a rounding error due to mIRC preserving fractional digits to only 6 places.
    2 KB (229 words) - 15:20, 14 January 2018
  • {{mirc title|$file Identifier}}'''$file''' can be used in two ways: ...recated syntax, display the select file dialog, {{Deprecated feature|new={{mIRC|$sfile}}}}
    5 KB (760 words) - 10:15, 25 September 2022
  • {{mirc title|$style Identifier}}'''$style''' can be used inside menu definition to * '''N''' - use N = 1 for checked, N = 2 for disabled and N = 3 for both
    645 bytes (89 words) - 20:34, 8 January 2018
  • {{mirc title|$gettok Identifier}}{{Deprecated feature|new={{mIRC|$gettok}}}}'''$token''' returns the Nth $asc(C)-delimited token from a list '''C:''' - The {{mIRC|$asc|$asc()}} value which splits TEXT into tokens<br />
    2 KB (302 words) - 16:54, 23 September 2017
  • {{mirc title|$tip Identifier}}'''$tip''' Allows you to create scripted tips that a * '''delay''' - The duration of the tip, betwee, 3 and 60
    2 KB (293 words) - 22:35, 16 August 2022
  • {{mirc title|$fline Identifier}}'''$fline''' returns the number of the Nth line ma * '''expr''' - the expression to search, {{mirc|wildcard}} by default
    1 KB (164 words) - 13:54, 28 December 2019
  • {{mirc title|$window Identifier}}'''$window''' returns information about the speci <source lang="mIRC">$window(N/name)
    5 KB (766 words) - 01:45, 15 September 2022
  • {{mirc title|$bvar Identifier}}'''$bvar''' returns the contents of a binary variab <source lang="mIRC">//bset &abc 1 12 34 56 78 | echo -a $iif($bvar(&abc),$v1 exists) $iif($bva
    5 KB (652 words) - 23:11, 16 August 2022
  • {{mirc title|$iif Identifier}}'''$iif''' returns a conditional value depending on <source lang="mIRC">
    3 KB (481 words) - 05:39, 4 April 2020
  • {{mirc title|$hget identifier}}'''$hget''' returns informations about hash tables <source lang="mIRC">
    2 KB (274 words) - 13:04, 7 October 2023
  • {{mirc title|$mask Identifier}}'''$mask''' returns the address with a mask of the ** 3: *!*user@*.host
    1 KB (144 words) - 10:05, 28 December 2017
  • {{mirc title|$hash Identifier}} <source lang="mIRC">//echo -a The hash is $hash(test,32)
    13 KB (2,030 words) - 14:28, 5 February 2023
  • {{mirc title|$msfile Identifier}}'''$msfile''' Opens dialog to select 1 or more fi ...e editbox until the next time any of these 3 commands are used, when these identifiers are replaced by the new results. (Using $msfile(N) does not reset $sfstate)
    6 KB (997 words) - 01:43, 26 January 2018
  • {{mirc title|Binary Variables}} '''Binary variables''' are a special storage offered by mIRC that can hold an array of bytes of arbitrary length.
    12 KB (2,006 words) - 11:19, 19 January 2019
  • ...ls. $hmac is used to provide the security strength for the $hotp and $totp identifiers. <source lang="mIRC">
    3 KB (551 words) - 00:11, 5 January 2019
  • {{mirc title|$read Identifier}}The '''$read''' returns a line from a disk file <source lang="mIRC">$read(filename [,ntswrp] [,matchtext] [,N])</source>
    8 KB (1,414 words) - 11:35, 7 October 2023
  • {{mirc title|$submenu Identifier}}'''$submenu''' can be used in popups definition ...dentifier called by mIRC, the parameter passed to it is always $1, used by mIRC to pass information to your identifier.
    1 KB (146 words) - 15:54, 6 February 2018
  • {{mirc title|$regerrstr Identifier}}'''$regerrstr''' returns the PCRE error string * 3: unrecognized character follows \
    5 KB (685 words) - 18:31, 21 December 2020
  • {{mirc title|$com Identifier}}'''$com''' calls a member of an open COM connection | 3 || (1+2) Call a member and return a value *
    5 KB (701 words) - 21:58, 16 August 2022
  • {{mirc title|$comcall Identifier}}'''$comcall''' calls a member of an open COM con ..., this means that the object is not compatible with the threading model of mIRC, so $com() must be used. You can check the $comerr value in the alias to de
    4 KB (616 words) - 08:28, 17 August 2018
  • {{mirc title|$urlget identifier}}'''$urlget''' sends a HEAD/GET/POST/PUT/PATCH/DEL <source lang="mIRC">
    6 KB (803 words) - 09:06, 15 February 2024
  • {{mirc title|Line Lenght Limit}} The mIRC scripting language works using instructions/commands/statement, each comman
    2 KB (368 words) - 23:04, 25 July 2019
  • {{mirc title|On Char - Events}} ...er results from pressing one or more inside of a custom [[custom windows - mIRC|@window]].
    3 KB (400 words) - 07:34, 6 February 2024
  • {{mirc title|$codepage Identifier}}The '''$codepage''' identifier allows you to li <source lang="mIRC">//var %a 1 | while ($codepage(%a)) { echo -sg $v1 -- $codepage(%a).name --
    4 KB (561 words) - 09:39, 15 August 2022
  • {{mirc title|$powmod identifier}}'''$powmod''' performs integer exponentiation ove * While most math identifiers support numbers as large as 2^53, care should be used for this function if
    2 KB (328 words) - 15:07, 12 November 2022
  • {{mirc title|/bigfloat Command}} ...force the script in/out of bigfloat mode, where operation of several math identifiers, commands etc are affected.
    11 KB (1,800 words) - 14:04, 5 June 2023