https://en.wikichip.org/w/api.php?action=feedcontributions&user=83.204.157.118&feedformat=atom
WikiChip - User contributions [en]
2024-03-28T11:19:35Z
User contributions
MediaWiki 1.28.1
https://en.wikichip.org/w/index.php?title=mirc/unicode&diff=44614
mirc/unicode
2017-06-13T16:43:14Z
<p>83.204.157.118: </p>
<hr />
<div>{{mirc title|Unicode}}<br />
This page does not attempt to describe what is [[Unicode]] but rather how it works around mIRC. The technical terms are omitted on purpose.<br />
<br />
Before Unicode (mIRC 7.x), mIRC supported code pages, handling various language used in the world, code pages are encoding on 8 bits (byte), 8 bits can be used to represent 256 values, mIRC also supported others encoding for Japanese system for example. Basically, code pages are all based on ASCII, which defines 128 characters, assigned to the first 128 values represented in 8 bits, and then each code page adds the required characters for the language, é for the french or a Greek letter for Greek people.<br />
<br />
You can see Unicode as a new codepage, but which defines 1,114,112 characters, including all languages. This is much better for IRC, which can be used from all over the world.<br />
<br />
They are different ways to implement the handling of Unicode in a application, mIRC uses the utf16 encoding internally, before it was handled using US-ASCII.<br />
<br />
Two mains reasons for this:<br />
<br />
* The most frequently used character, the first 65635 ones, can be stored with 16 bits, as a result, routine dealing with Unicode are going to be faster.<br />
* It uses less memory than utf32.<br />
<br />
Drawback: each character in a script is depicted as a 16 bits unit, {{mIRC|$asc}} and {{mIRC|$chr}} cannot be used with characters over 65635, but you can form those others characters in your script by combining two 16 bits characters together:<br />
<br />
<source lang="mIRc"><br />
//var -s %a = $chr(55384), %b = $chr(56320) | echo -a %a $+ %b<br />
<br />
𦀀<br />
</source><br />
<br />
You can also express those characters with their utf8 representation using {{mIRC|$utfdecode}}, which decode utf8:<br />
<br />
<source lang="mIRc"><br />
;you can use utf8 to form the character 65536 for example, which is four bytes in utf8 (f0 90 80 80):<br />
//var -s %a $utfdecode($chr($base(f0,16,10)) $+ $chr($base(90,16,10)) $+ $chr($base(80,16,10)) $+ $chr($base(80,16,10)))<br />
<br />
𐀀<br />
</source><br />
<br />
$utfencode can be used to encode text to utf8:<br />
<br />
<source lang="mIRc"><br />
//var -s %a $utfencode(é)<br />
<br />
é<br />
</source><br />
<br />
The scripting language still somewhat support code pages, you can decode text to utf8 while the bytes in the text are interpreted in the given code page.<br />
<br />
Each code page has a number (Gdi charset):<br />
<br />
* 000 - ANSI_CHARSET<br />
* 001 - DEFAULT_CHARSET<br />
* 002 - SYMBOL_CHARSET<br />
* 077 - MAC_CHARSET<br />
* 128 - SHIFTJIS_CHARSET<br />
* 129 - HANGEUL_CHARSET<br />
* 130 - JOHAB_CHARSET<br />
* 134 - GB2312_CHARSET<br />
* 136 - CHINESEBIG5_CHARSET<br />
* 161 - GREEK_CHARSET<br />
* 162 - TURKISH_CHARSET<br />
* 163 - VIETNAMESE_CHARSET<br />
* 177 - HEBREW_CHARSET<br />
* 178 - ARABIC_CHARSET<br />
* 186 - BALTIC_CHARSET<br />
* 204 - RUSSIAN_CHARSET<br />
* 222 - THAI_CHARSET<br />
* 238 - EASTEUROPE_CHARSET<br />
* 255 - OEM_CHARSET<br />
<br />
'''Note''': GDI charsets 1 and 255 are system dependent and are therefore expected to return different results across different machines. Values not on the table are treated as a reference to DEFAULT_CHARSET, equivalent to using C = 1.<br />
<br />
For example, if you want to get the text (FROM GREEK TO UTF8), which used the ISO-8859-7 (GREEK) encoding for greek letters, in utf8, you need to encode that to utf8, interpreting the bytes as per in the GREEK code page, and then to decode that to utf8: $utfdecode($utfencode(text,161))<br />
<br />
If you want to send the text in GREEK over IRC, mIRC will encode the bytes internally so you must encode the text in utf8, and then decode to utf8, interpreting the bytes as per in the GREEK code page: /raw -n privmsg #chan $utfdecode($utfencode(text),161)<br />
<br />
It must be noted that some commands and identifiers will encode your text to utf8, changing the integrity of your input.<br />
Each character is represented as 16 bits internally, the array of character is not an array of byte, it's an array of 16 bit (two bytes).<br />
But let's take a look at "/msg #chan é".<br />
é is the code point 233, which fits in one byte, but mIRC will encode your byte 233 to utf8, giving the two bytes 165 169.<br />
Now in this case there is little value not encoding in utf8, on IRC you usually don't really care about the integrity of your bytes.<br />
However there are others features where it's not so simple.<br />
$sha1(é) for example can be tricky, this is going to give the hash of the two bytes.<br />
The reason this is happening is because of the conversion, the hashing algorithm works on an array of byte, so mIRC has to take your character (represented in an array of two bytes) and convert them to single bytes, that's why the utf8 conversion happens.<br />
And this is happening pretty much everywhere.<br />
<br />
{{mIRC|/raw|/raw -n}} can be used for IRC, it sends the data to the server without encode the characters in the range 0-255 to utf8.<br />
<br />
{{mIRC|/sockwrite|/sockwrite -u}} can be used to the same effect, won't encode characters in the range 0-255 to utf8.<br />
<br />
<br />
[[Category:mIRC]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/unicode&diff=44613
mirc/unicode
2017-06-13T16:42:49Z
<p>83.204.157.118: </p>
<hr />
<div>{{mirc title|Unicode}}<br />
This page does not attempt to describe what is [[Unicode]] but rather how it works around mIRC. The technical terms are omitted on purpose.<br />
<br />
Before Unicode (mIRC 7.x), mIRC supported code pages, handling various language used in the world, code pages are encoding on 8 bits (byte), 8 bits can be used to represent 256 values, mIRC also supported others encoding for Japanese system for example. Basically, code pages are all based on ASCII, which defines 128 characters, assigned to the first 128 values represented in 8 bits, and then each code page adds the required characters for the language, é for the french or a Greek letter for Greek people.<br />
<br />
You can see Unicode as a new codepage, but which defines 1,114,112 characters, including all languages. This is much better for IRC, which can be used from all over the world.<br />
<br />
They are different ways to implement the handling of Unicode in a application, mIRC uses the utf16 encoding internally, before it was handled using US-ASCII.<br />
<br />
Two mains reasons for this:<br />
<br />
* The most frequently used character, the first 65635 ones, can be stored with 16 bits, as a result, routine dealing with Unicode are going to be faster.<br />
* It uses less memory than utf32.<br />
<br />
Drawback: each character in a script is depicted as a 16 bits unit, {{mIRC|$asc}} and {{mIRC|$chr}} cannot be used with characters over 65635, but you can form those others characters in your script by combining two 16 bits characters together:<br />
<br />
<source lang="mIRc"><br />
//var -s %a = $chr(55384), %b = $chr(56320) | echo -a %a $+ %b<br />
<br />
𦀀<br />
</source><br />
<br />
You can also express those characters with their utf8 representation using {{mIRC|$utfdecode}}, which decode utf8:<br />
<br />
<source lang="mIRc"><br />
;you can use utf8 to form the character 65536 for example, which is four bytes in utf8 (f0 90 80 80):<br />
//var -s %a $utfdecode($chr($base(f0,16,10)) $+ $chr($base(90,16,10)) $+ $chr($base(80,16,10)) $+ $chr($base(80,16,10)))<br />
<br />
𐀀<br />
</source><br />
<br />
$utfencode can be used to encode text to utf8:<br />
<br />
<source lang="mIRc"><br />
//var -s %a $utfencode(é)<br />
<br />
é<br />
</source><br />
<br />
The scripting language still somewhat support code pages, you can decode text to utf8 while the bytes in the text are interpreted in the given code page.<br />
<br />
Each code page has a number (Gdi charset):<br />
<br />
* 000 - ANSI_CHARSET<br />
* 001 - DEFAULT_CHARSET<br />
* 002 - SYMBOL_CHARSET<br />
* 077 - MAC_CHARSET<br />
* 128 - SHIFTJIS_CHARSET<br />
* 129 - HANGEUL_CHARSET<br />
* 130 - JOHAB_CHARSET<br />
* 134 - GB2312_CHARSET<br />
* 136 - CHINESEBIG5_CHARSET<br />
* 161 - GREEK_CHARSET<br />
* 162 - TURKISH_CHARSET<br />
* 163 - VIETNAMESE_CHARSET<br />
* 177 - HEBREW_CHARSET<br />
* 178 - ARABIC_CHARSET<br />
* 186 - BALTIC_CHARSET<br />
* 204 - RUSSIAN_CHARSET<br />
* 222 - THAI_CHARSET<br />
* 238 - EASTEUROPE_CHARSET<br />
* 255 - OEM_CHARSET<br />
<br />
'''Note''': GDI charsets 1 and 255 are system dependent and are therefore expected to return different results across different machines. Values not on the table are treated as a reference to DEFAULT_CHARSET, equivalent to using C = 1.<br />
<br />
For example, if you want to get the text (FROM GREEK TO UTF8), which used the ISO-8859-7 (GREEK) encoding for greek letters, in utf8, you need to encode that to utf8, interpreting the bytes as per in the GREEK code page, and then to decode that to utf8: $utfdecode($utfencode(text,161))<br />
<br />
If you want to send the text in GREEK over IRC, mIRC will encode the bytes internally so you must encode the text in utf8, and then decode to utf8, interpreting the bytes as per in the GREEK code page: /raw -n privmsg #chan $utfdecode($utfencode(text),161)<br />
<br />
It must be noted that some commands and identifiers will encode your text to utf8, changing the integrity of your input.<br />
Each character is represented as 16 bits internally, the array of character is not an array of byte, it's an array of 16 bit (two bytes).<br />
But let's take a look at "/msg #chan é".<br />
é is the code point 233, which fits in one byte, but mIRC will encode your byte 233 to utf8, giving the two bytes 165 169.<br />
Now in this case there is little value not encoding in utf8, on IRC you usually don't really care about the integrity of your bytes.<br />
However there are others features where it's not so simple.<br />
$sha1(é) for example can be tricky, this is going to give the hash of the two bytes.<br />
The reason this is happening is because of the conversion, the hashing algorithm works on an array of byte, so mIRC has to take your character (represented in an array of two bytes) and convert them to single bytes, that's why the utf8 conversion happens.<br />
And this is happening pretty much everywhere.<br />
<br />
{{mIRC|/raw|/raw -n}} can be used for IRC, it sends the data to the server without encode the characters in the range 0-255 to utf8.<br />
{{mIRC|/sockwrite|/sockwrite -u}} can be used to the same effect, won't encode characters in the range 0-255 to utf8.<br />
<br />
<br />
[[Category:mIRC]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sha1&diff=44591
mirc/identifiers/$sha1
2017-06-12T20:38:53Z
<p>83.204.157.118: </p>
<hr />
<div>{{mirc title|$sha1 Identifier}}<br />
The '''$sha1''' identifier calculates the [[sha1 hash]] of a text, {{mirc|binary variables|binary variable}}, or file. Hash is 160-bits, shown as 40 lower-case hexadecimal characters.<br />
<br />
== Synopsis ==<br />
<pre>$sha1(plaintext|&binaryvar|filename,[N])<br />
</pre><br />
<br />
== Parameters ==<br />
'''plaintext''' - Used with N = 0, just the string you want the sha1 hash of<br />
<br />
'''&binaryvar''' - A binary variable, used with N = 1, return the sha1 hash of the content of the binvar<br />
<br />
'''filename''' - A filename, used with N = 2, return the sha1 hash of the content of the file<br />
<br />
'''N:''' Optional integer 0-2, where 0 indicates data is treated as plaintext, 1 indicates a &binary variable, 2 treats data as contents of a filename<br /><br />
<br />
If the N parameter isn't used, the default 0 is used (which is different than $crc which has default of N=2.)<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
Echo the SHA1 hash of plain text string ''abc'' to the active window:<br />
<pre>//echo -a $sha1(abc)<br />
or<br />
//echo -a $sha1(abc,0)</pre><br />
The DATA is case-sensitive, so hash of "abc" is different than hash of "ABC"<br />
<br />
Echo the SHA1 hash of the zero-length null string to the active window:<br />
<pre>//echo -a $sha1($null)</pre><br />
<br />
Echo the SHA1 hash of the first 1000 bytes of the mIRC program you're running to the active window:<br />
<pre>//bread $qt($mircexe) 0 1000 &snip | echo -a $sha1(&snip,1)</pre><br />
<br />
Echo the SHA1 hash of the contents of the mIRC program you're running to the active window:<br />
<pre>//echo -a $sha1($mircexe,2)</pre><br />
<br />
Suggested Uses:<br />
* Quick way to compare if 2 files are identical. (First check should always be comparing file sizes.)<br />
* Quick way to check if a file's contents have changed since stored sha1 hash was made.<br />
* Verify downloaded file hasn't been corrupted, matches the sender's original.<br />
<br /><br />
Note that because the default is N=0, '''$sha1($mircexe)''' is the SHA1 hash for the plaintext text string of the drive:\path\filename for the mIRC you're running, and not the hash of the filename contents. This differs from $crc($mircexe) giving the checksum of the filename contents because $crc has default of N=2.<br /><br />
mIRC v7.x Unicode-encodes plaintext before providing to $sha1, so v7.x and v6.x return different answers for //echo -a $sha1($chr(233))<br /><br />
<br />
== Error Messages ==<br />
Note that $sha1 differs from $crc in that it generates error for non-existent files instead of returning hash of $null string. Also, hex string returned by $sha1 is lowercase while $crc returns uppercase hex.<br />
<br />
<pre>* Error accessing file: $sha1</pre><br />
Either file does not exist, or file permissions don't allow the file to be read. i.e. $sha1(non-existent-file,2) or $sha1(c:\hiberfil.sys,2)<br />
<br />
<pre>* Invalid parameters: $sha1</pre><br />
Either using a zero-length/non-existent binary variable or specifying an N where $int(%N) isn't 0-2.<br />
<br />
<pre>Both above errors halt execution of the script</pre><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.3}}<br />
<br />
== See also ==<br />
* {{mIRC|$crc}}<br />
* {{mIRC|$md5}}<br />
* {{mIRC|$sha256}}<br />
* {{mIRC|$sha384}}<br />
* {{mIRC|$sha512}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sha1&diff=44590
mirc/identifiers/$sha1
2017-06-12T20:38:36Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$sha1 Identifier}}<br />
The '''$sha1''' identifier calculates the [[sha1 hash]] of a text, {{mirc|binary variables|binary variable}}, or file.<br />
<br />
== Synopsis ==<br />
<pre>$sha1(plaintext|&binaryvar|filename,[N])<br />
</pre><br />
<br />
== Parameters ==<br />
'''plaintext''' - Used with N = 0, just the string you want the sha1 hash of<br />
<br />
'''&binaryvar''' - A binary variable, used with N = 1, return the sha1 hash of the content of the binvar<br />
<br />
'''filename''' - A filename, used with N = 2, return the sha1 hash of the content of the file<br />
<br />
'''N:''' Optional integer 0-2, where 0 indicates data is treated as plaintext, 1 indicates a &binary variable, 2 treats data as contents of a filename<br /><br />
<br />
If the N parameter isn't used, the default 0 is used (which is different than $crc which has default of N=2.)<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
Echo the SHA1 hash of plain text string ''abc'' to the active window:<br />
<pre>//echo -a $sha1(abc)<br />
or<br />
//echo -a $sha1(abc,0)</pre><br />
The DATA is case-sensitive, so hash of "abc" is different than hash of "ABC"<br />
<br />
Echo the SHA1 hash of the zero-length null string to the active window:<br />
<pre>//echo -a $sha1($null)</pre><br />
<br />
Echo the SHA1 hash of the first 1000 bytes of the mIRC program you're running to the active window:<br />
<pre>//bread $qt($mircexe) 0 1000 &snip | echo -a $sha1(&snip,1)</pre><br />
<br />
Echo the SHA1 hash of the contents of the mIRC program you're running to the active window:<br />
<pre>//echo -a $sha1($mircexe,2)</pre><br />
<br />
Suggested Uses:<br />
* Quick way to compare if 2 files are identical. (First check should always be comparing file sizes.)<br />
* Quick way to check if a file's contents have changed since stored sha1 hash was made.<br />
* Verify downloaded file hasn't been corrupted, matches the sender's original.<br />
<br /><br />
Note that because the default is N=0, '''$sha1($mircexe)''' is the SHA1 hash for the plaintext text string of the drive:\path\filename for the mIRC you're running, and not the hash of the filename contents. This differs from $crc($mircexe) giving the checksum of the filename contents because $crc has default of N=2.<br /><br />
mIRC v7.x Unicode-encodes plaintext before providing to $sha1, so v7.x and v6.x return different answers for //echo -a $sha1($chr(233))<br /><br />
<br />
== Error Messages ==<br />
Note that $sha1 differs from $crc in that it generates error for non-existent files instead of returning hash of $null string. Also, hex string returned by $sha1 is lowercase while $crc returns uppercase hex.<br />
<br />
<pre>* Error accessing file: $sha1</pre><br />
Either file does not exist, or file permissions don't allow the file to be read. i.e. $sha1(non-existent-file,2) or $sha1(c:\hiberfil.sys,2)<br />
<br />
<pre>* Invalid parameters: $sha1</pre><br />
Either using a zero-length/non-existent binary variable or specifying an N where $int(%N) isn't 0-2.<br />
<br />
<pre>Both above errors halt execution of the script</pre><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.3}}<br />
<br />
== See also ==<br />
* {{mIRC|$crc}}<br />
* {{mIRC|$md5}}<br />
* {{mIRC|$sha256}}<br />
* {{mIRC|$sha384}}<br />
* {{mIRC|$sha512}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sha1&diff=44589
mirc/identifiers/$sha1
2017-06-12T20:38:10Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$sha1 Identifier}}<br />
The '''$sha1''' identifier calculates the [[sha1 hash]] of a text, {{mirc|binary variables|binary variable}}, or file.<br />
<br />
== Synopsis ==<br />
<pre>$sha1(plaintext|&binaryvar|filename,[N])<br />
</pre><br />
<br />
== Parameters ==<br />
'''plaintext''' - Used with N = 0, just the string you want the sha1 hash of<br />
<br />
'''&binaryvar''' - A binary variable, used with N = 1, return the sha1 hash of the content of the binvar<br />
<br />
'''filename''' - A filename, used with N = 2, return the sha1 hash of the content of the file<br />
<br />
'''N:''' Optional integer 0-2, where 0 indicates data is treated as plaintext, 1 indicates a &binary variable, 2 treats data as contents of a filename<br /><br />
<br />
If the N parameter isn't used, the default 0 is used (which is different than $crc which has default of N=2.) <br />
<br />
Hash is 160-bits, shown as 40 lower-case hexadecimal characters.<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
Echo the SHA1 hash of plain text string ''abc'' to the active window:<br />
<pre>//echo -a $sha1(abc)<br />
or<br />
//echo -a $sha1(abc,0)</pre><br />
The DATA is case-sensitive, so hash of "abc" is different than hash of "ABC"<br />
<br />
Echo the SHA1 hash of the zero-length null string to the active window:<br />
<pre>//echo -a $sha1($null)</pre><br />
<br />
Echo the SHA1 hash of the first 1000 bytes of the mIRC program you're running to the active window:<br />
<pre>//bread $qt($mircexe) 0 1000 &snip | echo -a $sha1(&snip,1)</pre><br />
<br />
Echo the SHA1 hash of the contents of the mIRC program you're running to the active window:<br />
<pre>//echo -a $sha1($mircexe,2)</pre><br />
<br />
Suggested Uses:<br />
* Quick way to compare if 2 files are identical. (First check should always be comparing file sizes.)<br />
* Quick way to check if a file's contents have changed since stored sha1 hash was made.<br />
* Verify downloaded file hasn't been corrupted, matches the sender's original.<br />
<br /><br />
Note that because the default is N=0, '''$sha1($mircexe)''' is the SHA1 hash for the plaintext text string of the drive:\path\filename for the mIRC you're running, and not the hash of the filename contents. This differs from $crc($mircexe) giving the checksum of the filename contents because $crc has default of N=2.<br /><br />
mIRC v7.x Unicode-encodes plaintext before providing to $sha1, so v7.x and v6.x return different answers for //echo -a $sha1($chr(233))<br /><br />
<br />
== Error Messages ==<br />
Note that $sha1 differs from $crc in that it generates error for non-existent files instead of returning hash of $null string. Also, hex string returned by $sha1 is lowercase while $crc returns uppercase hex.<br />
<br />
<pre>* Error accessing file: $sha1</pre><br />
Either file does not exist, or file permissions don't allow the file to be read. i.e. $sha1(non-existent-file,2) or $sha1(c:\hiberfil.sys,2)<br />
<br />
<pre>* Invalid parameters: $sha1</pre><br />
Either using a zero-length/non-existent binary variable or specifying an N where $int(%N) isn't 0-2.<br />
<br />
<pre>Both above errors halt execution of the script</pre><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.3}}<br />
<br />
== See also ==<br />
* {{mIRC|$crc}}<br />
* {{mIRC|$md5}}<br />
* {{mIRC|$sha256}}<br />
* {{mIRC|$sha384}}<br />
* {{mIRC|$sha512}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$sha1&diff=44588
mirc/identifiers/$sha1
2017-06-12T20:37:35Z
<p>83.204.157.118: </p>
<hr />
<div>{{mirc title|$sha1 Identifier}}<br />
The '''$sha1''' identifier calculates the [[sha1 hash]] of a text, {{mirc|binary variables|binary variable}}, or file.<br />
<br />
== Synopsis ==<br />
<pre>$sha1(plaintext|&binaryvar|filename,[N])<br />
</pre><br />
<br />
== Parameters ==<br />
'''plaintext''' - Used with N = 0, just the string you want the sha1 hash of<br />
'''&binaryvar''' - A binary variable, used with N = 1, return the sha1 hash of the content of the binvar<br />
'''filename''' - A filename, used with N = 2, return the sha1 hash of the content of the file<br />
'''N:''' Optional integer 0-2, where 0 indicates data is treated as plaintext, 1 indicates a &binary variable, 2 treats data as contents of a filename<br /><br />
If the N parameter isn't used, the default 0 is used (which is different than $crc which has default of N=2.) <br />
<br />
Hash is 160-bits, shown as 40 lower-case hexadecimal characters.<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
Echo the SHA1 hash of plain text string ''abc'' to the active window:<br />
<pre>//echo -a $sha1(abc)<br />
or<br />
//echo -a $sha1(abc,0)</pre><br />
The DATA is case-sensitive, so hash of "abc" is different than hash of "ABC"<br />
<br />
Echo the SHA1 hash of the zero-length null string to the active window:<br />
<pre>//echo -a $sha1($null)</pre><br />
<br />
Echo the SHA1 hash of the first 1000 bytes of the mIRC program you're running to the active window:<br />
<pre>//bread $qt($mircexe) 0 1000 &snip | echo -a $sha1(&snip,1)</pre><br />
<br />
Echo the SHA1 hash of the contents of the mIRC program you're running to the active window:<br />
<pre>//echo -a $sha1($mircexe,2)</pre><br />
<br />
Suggested Uses:<br />
* Quick way to compare if 2 files are identical. (First check should always be comparing file sizes.)<br />
* Quick way to check if a file's contents have changed since stored sha1 hash was made.<br />
* Verify downloaded file hasn't been corrupted, matches the sender's original.<br />
<br /><br />
Note that because the default is N=0, '''$sha1($mircexe)''' is the SHA1 hash for the plaintext text string of the drive:\path\filename for the mIRC you're running, and not the hash of the filename contents. This differs from $crc($mircexe) giving the checksum of the filename contents because $crc has default of N=2.<br /><br />
mIRC v7.x Unicode-encodes plaintext before providing to $sha1, so v7.x and v6.x return different answers for //echo -a $sha1($chr(233))<br /><br />
<br />
== Error Messages ==<br />
Note that $sha1 differs from $crc in that it generates error for non-existent files instead of returning hash of $null string. Also, hex string returned by $sha1 is lowercase while $crc returns uppercase hex.<br />
<br />
<pre>* Error accessing file: $sha1</pre><br />
Either file does not exist, or file permissions don't allow the file to be read. i.e. $sha1(non-existent-file,2) or $sha1(c:\hiberfil.sys,2)<br />
<br />
<pre>* Invalid parameters: $sha1</pre><br />
Either using a zero-length/non-existent binary variable or specifying an N where $int(%N) isn't 0-2.<br />
<br />
<pre>Both above errors halt execution of the script</pre><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|6.3}}<br />
<br />
== See also ==<br />
* {{mIRC|$crc}}<br />
* {{mIRC|$md5}}<br />
* {{mIRC|$sha256}}<br />
* {{mIRC|$sha384}}<br />
* {{mIRC|$sha512}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$gettok&diff=44584
mirc/identifiers/$gettok
2017-06-12T18:43:04Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>'''$gettok returns the Nth $asc(C)-delimited token from a list'''<br />
<br />
== Synopsis ==<br />
<pre>$gettok(<LIST>,<N>,<C>)</pre><br />
<br />
== Parameters ==<br />
'''LIST:''' - Text list delimited by a character into tokens<br /><br />
'''N:''' - The token(s) to be returned. N can also be negative or a range<br /><br />
'''C:''' - The $asc() value which splits TEXT into tokens<br /><br />
<br />
If N=0, returns total number of tokens, same as $numtok(TEXT,C)<br /><br />
If N is greater than the total number of tokens, returns $nul<br /><br />
If N is negative, returns tokens relative to the last token. -1 is the last token, -2 is next-to-last token, etc.<br /><br />
N- returns all tokens beginning with the Nth token.<br />
N1-N2 returns all tokens in the range of those 2 numbers, including the between delimiters.<br /><br />
'''Note''': You can reverse the order of the number: $gettok(a b c,3-2,32) is the same as $gettok(a b c,2-3,32)<br />
'''Note''': N2 can also be negative: $gettok(a b c d e f,-2-3,32) return the token from the 3rd token to the -2th but $gettok(a b c d e f,-2--3,32) return e f, from -3 to -2<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Examples ==<br />
Echo to the active window, the 2nd token as delimited by the $chr(45) hyphen:<br />
<br />
<pre>//echo -a $gettok(a-b-c-d-e,2,45)<br />
; returns b</pre><br />
<br />
$chr(32) is the space character. Echo the current month to the active window:<br />
<pre>//echo -a The current month is $gettok($asctime,2,32)</pre><br />
<br />
This returns ''Mon Tue'' because the space between %x %y becomes the 2nd delimiter:<br />
<pre>//var %x Sun Mon | var %y Tue Wed Thu Fri Sat | echo -a $gettok(%x %y,2-3,32)</pre><br />
<br />
$chr(58) is the colon, $chr(92) is the backslash:<br />
<br />
<pre>//echo -a This $gettok($mircexe,-1,92) is installed on the $gettok($mircexe,1,58) drive letter in a program folder named $gettok($mircexe,-2,92)<br />
//var %i $gettok($mircexe,0,92) | echo -a $gettok($mircexe,1- $+ $calc(%i -1) ,92) is mIRC's path without the ending backslash<br />
</pre><br />
<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,2-4,46)<br />
; returns Mon.Tue.Wed (including the delimiter period between the returned tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,3-,46)<br />
; returns all tokens beginning with the 3rd: Tue.Wed.Thu.Fri.Sat</pre><br />
<br />
<pre>//echo -a $gettok(1x2x3x4,3,120)<br />
; returns 3 because $chr(120) is lower-case x<br />
//echo -a $gettok(x1xxxx2x3x4x,3,120)<br />
; also returns 3 because duplicate, leading, and trailing delimiters are stripped before $gettok processes the TEXT<br />
//echo -a $gettok(1x2X3x4,3,120)<br />
; returns 4 because the C token is case-sensitive, so capital X isn't a delimiter</pre><br />
<br />
$gettok allows the range numbers to be negative<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-4- $+ -2,46)<br />
; returns the 4th-from-last through 2nd-from-last tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-2-,46)<br />
; returns the last 2 tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,2- $+ -2,46)<br />
; returns 2nd token through 2nd-from-last token<br />
</pre><br />
<br />
$gettok puts range numbers in the correct order before evaluating them.<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,4-3,46)<br />
; returns same results as if range 3-4 were used<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-4-3,46)<br />
; returns 4th-from-last token thru the 3rd token regardless whether the 3rd token is the earlier or later token in the list.<br />
</pre><br />
<br />
'''NOTE:''' $gettok differs from CSV format in that it does not use double-quotes to allow a delimiter to be part of another token. If you want $filename to be a token in a comma-delimited list of tokens, you should use $replace to change the comma in the filename into another character that cannot appear in the filename before adding as a token, then use $replace on the extracted token to restore any comma(s).<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See also ==<br />
* {{mIRC|$numtok}}<br />
* {{mIRC|$findtok}}<br />
* {{mIRC|$matchtok}}<br />
* {{mIRC|$wildtok}}<br />
* {{mIRC|$istok}}<br />
* {{mIRC|$addtok}}<br />
* {{mIRC|$instok}}<br />
* {{mIRC|$puttok}}<br />
* {{mIRC|$deltok}}<br />
* {{mIRC|$remtok}}<br />
* {{mIRC|$reptok}}<br />
* {{mIRC|$sorttok}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$gettok&diff=44583
mirc/identifiers/$gettok
2017-06-12T18:42:41Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>'''$gettok returns the Nth $asc(C)-delimited token from a list'''<br />
<br />
== Synopsis ==<br />
<pre>$gettok(<LIST>,<N>,<C>)</pre><br />
<br />
== Parameters ==<br />
'''LIST:''' Text list delimited by a character into tokens<br /><br />
'''N:''' The token(s) to be returned. N can also be negative or a range<br /><br />
'''C:''' The $asc() value which splits TEXT into tokens<br /><br />
<br />
If N=0, returns total number of tokens, same as $numtok(TEXT,C)<br /><br />
If N is greater than the total number of tokens, returns $nul<br /><br />
If N is negative, returns tokens relative to the last token. -1 is the last token, -2 is next-to-last token, etc.<br /><br />
N- returns all tokens beginning with the Nth token.<br />
N1-N2 returns all tokens in the range of those 2 numbers, including the between delimiters.<br /><br />
'''Note''': You can reverse the order of the number: $gettok(a b c,3-2,32) is the same as $gettok(a b c,2-3,32)<br />
'''Note''': N2 can also be negative: $gettok(a b c d e f,-2-3,32) return the token from the 3rd token to the -2th but $gettok(a b c d e f,-2--3,32) return e f, from -3 to -2<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Examples ==<br />
Echo to the active window, the 2nd token as delimited by the $chr(45) hyphen:<br />
<br />
<pre>//echo -a $gettok(a-b-c-d-e,2,45)<br />
; returns b</pre><br />
<br />
$chr(32) is the space character. Echo the current month to the active window:<br />
<pre>//echo -a The current month is $gettok($asctime,2,32)</pre><br />
<br />
This returns ''Mon Tue'' because the space between %x %y becomes the 2nd delimiter:<br />
<pre>//var %x Sun Mon | var %y Tue Wed Thu Fri Sat | echo -a $gettok(%x %y,2-3,32)</pre><br />
<br />
$chr(58) is the colon, $chr(92) is the backslash:<br />
<br />
<pre>//echo -a This $gettok($mircexe,-1,92) is installed on the $gettok($mircexe,1,58) drive letter in a program folder named $gettok($mircexe,-2,92)<br />
//var %i $gettok($mircexe,0,92) | echo -a $gettok($mircexe,1- $+ $calc(%i -1) ,92) is mIRC's path without the ending backslash<br />
</pre><br />
<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,2-4,46)<br />
; returns Mon.Tue.Wed (including the delimiter period between the returned tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,3-,46)<br />
; returns all tokens beginning with the 3rd: Tue.Wed.Thu.Fri.Sat</pre><br />
<br />
<pre>//echo -a $gettok(1x2x3x4,3,120)<br />
; returns 3 because $chr(120) is lower-case x<br />
//echo -a $gettok(x1xxxx2x3x4x,3,120)<br />
; also returns 3 because duplicate, leading, and trailing delimiters are stripped before $gettok processes the TEXT<br />
//echo -a $gettok(1x2X3x4,3,120)<br />
; returns 4 because the C token is case-sensitive, so capital X isn't a delimiter</pre><br />
<br />
$gettok allows the range numbers to be negative<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-4- $+ -2,46)<br />
; returns the 4th-from-last through 2nd-from-last tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-2-,46)<br />
; returns the last 2 tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,2- $+ -2,46)<br />
; returns 2nd token through 2nd-from-last token<br />
</pre><br />
<br />
$gettok puts range numbers in the correct order before evaluating them.<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,4-3,46)<br />
; returns same results as if range 3-4 were used<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-4-3,46)<br />
; returns 4th-from-last token thru the 3rd token regardless whether the 3rd token is the earlier or later token in the list.<br />
</pre><br />
<br />
'''NOTE:''' $gettok differs from CSV format in that it does not use double-quotes to allow a delimiter to be part of another token. If you want $filename to be a token in a comma-delimited list of tokens, you should use $replace to change the comma in the filename into another character that cannot appear in the filename before adding as a token, then use $replace on the extracted token to restore any comma(s).<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See also ==<br />
* {{mIRC|$numtok}}<br />
* {{mIRC|$findtok}}<br />
* {{mIRC|$matchtok}}<br />
* {{mIRC|$wildtok}}<br />
* {{mIRC|$istok}}<br />
* {{mIRC|$addtok}}<br />
* {{mIRC|$instok}}<br />
* {{mIRC|$puttok}}<br />
* {{mIRC|$deltok}}<br />
* {{mIRC|$remtok}}<br />
* {{mIRC|$reptok}}<br />
* {{mIRC|$sorttok}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$gettok&diff=44582
mirc/identifiers/$gettok
2017-06-12T18:37:22Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>'''$gettok returns the Nth $asc(C)-delimited token from a list'''<br />
<br />
== Synopsis ==<br />
<pre>$gettok(<LIST>,<N>,<C>)</pre><br />
<br />
== Parameters ==<br />
'''LIST:''' Text list delimited by a character into tokens<br /><br />
'''N:''' The token(s) to be returned. N can also be negative or a range<br /><br />
'''C:''' The $asc() value which splits TEXT into tokens<br /><br />
<br />
If N=0, returns total number of tokens, same as $numtok(TEXT,C)<br /><br />
If N is greater than the total number of tokens, returns $nul<br /><br />
If N is negative, returns tokens relative to the last token. -1 is the last token, -2 is next-to-last token, etc.<br /><br />
N- returns all tokens beginning with the Nth token. N1-N2 returns all tokens in the range of those 2 numbers, including the between delimiters.<br /><br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Examples ==<br />
Echo to the active window, the 2nd token as delimited by the $chr(45) hyphen:<br />
<br />
<pre>//echo -a $gettok(a-b-c-d-e,2,45)<br />
; returns b</pre><br />
<br />
$chr(32) is the space character. Echo the current month to the active window:<br />
<pre>//echo -a The current month is $gettok($asctime,2,32)</pre><br />
<br />
This returns ''Mon Tue'' because the space between %x %y becomes the 2nd delimiter:<br />
<pre>//var %x Sun Mon | var %y Tue Wed Thu Fri Sat | echo -a $gettok(%x %y,2-3,32)</pre><br />
<br />
$chr(58) is the colon, $chr(92) is the backslash:<br />
<br />
<pre>//echo -a This $gettok($mircexe,-1,92) is installed on the $gettok($mircexe,1,58) drive letter in a program folder named $gettok($mircexe,-2,92)<br />
//var %i $gettok($mircexe,0,92) | echo -a $gettok($mircexe,1- $+ $calc(%i -1) ,92) is mIRC's path without the ending backslash<br />
</pre><br />
<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,2-4,46)<br />
; returns Mon.Tue.Wed (including the delimiter period between the returned tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,3-,46)<br />
; returns all tokens beginning with the 3rd: Tue.Wed.Thu.Fri.Sat</pre><br />
<br />
<pre>//echo -a $gettok(1x2x3x4,3,120)<br />
; returns 3 because $chr(120) is lower-case x<br />
//echo -a $gettok(x1xxxx2x3x4x,3,120)<br />
; also returns 3 because duplicate, leading, and trailing delimiters are stripped before $gettok processes the TEXT<br />
//echo -a $gettok(1x2X3x4,3,120)<br />
; returns 4 because the C token is case-sensitive, so capital X isn't a delimiter</pre><br />
<br />
$gettok allows the range numbers to be negative<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-4- $+ -2,46)<br />
; returns the 4th-from-last through 2nd-from-last tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-2-,46)<br />
; returns the last 2 tokens<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,2- $+ -2,46)<br />
; returns 2nd token through 2nd-from-last token<br />
</pre><br />
<br />
$gettok puts range numbers in the correct order before evaluating them.<br />
<pre>//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,4-3,46)<br />
; returns same results as if range 3-4 were used<br />
//echo -a $gettok(Sun.Mon.Tue.Wed.Thu.Fri.Sat,-4-3,46)<br />
; returns 4th-from-last token thru the 3rd token regardless whether the 3rd token is the earlier or later token in the list.<br />
</pre><br />
<br />
'''NOTE:''' $gettok differs from CSV format in that it does not use double-quotes to allow a delimiter to be part of another token. If you want $filename to be a token in a comma-delimited list of tokens, you should use $replace to change the comma in the filename into another character that cannot appear in the filename before adding as a token, then use $replace on the extracted token to restore any comma(s).<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See also ==<br />
* {{mIRC|$numtok}}<br />
* {{mIRC|$findtok}}<br />
* {{mIRC|$matchtok}}<br />
* {{mIRC|$wildtok}}<br />
* {{mIRC|$istok}}<br />
* {{mIRC|$addtok}}<br />
* {{mIRC|$instok}}<br />
* {{mIRC|$puttok}}<br />
* {{mIRC|$deltok}}<br />
* {{mIRC|$remtok}}<br />
* {{mIRC|$reptok}}<br />
* {{mIRC|$sorttok}}<br />
* [[List of identifiers - mIRC]]<br />
{{mIRC identifier list}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$get&diff=44581
mirc/identifiers/$get
2017-06-12T18:36:28Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$get Identifier}}The '''$get''' identifier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows.<br />
<br />
== Synopsis ==<br />
<pre>$get(N/nick[,N])[.property]</pre><br />
<br />
== Parameters ==<br />
{{ArgsList<br />
| N/nick | Refers to either the Nth open connection, or the connection associated with a specific user's nickname<br />
| [N] | If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match<br />
}}<br />
<br /><br /><br />
<br />
'''Note''': $get(-1) can be used during the {{mIRC|on events/on filercvd|on filercvd}} and {{mIRC|on events/on getfail|on getfail}}, it refers to the 'get' which triggered that event.<br />
<br />
== Properties ==<br />
{{ArgsList<br />
| cid | The connection id<br />
| cps | The characters-per-second transfer rate<br />
| done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}}<br />
| file | The file name of the current transfer<br />
| hwnd | The window handle<br />
| idle | How long since the file transfer has been idle<br />
| ip | The [[IP Address]] for the remote user<br />
| path | The path of the file name being transferred<br />
| pc | The percentage complete for the transfer<br />
| rcvd | The total amount of bytes received so far<br />
| resume | If the transfer has been resumed, returns the location in the file from where the resume took place<br />
| secs | The total number of seconds the transfer has been connected<br />
| size | The file size in bytes for the transfer<br />
| status | The status of the window; returns: '''active''', or '''inactive'''<br />
| wid | The mIRC window id for this window<br />
}}<br />
<br />
== Example ==<br />
Echo the total percent completed of the 3rd transfer:<br />
<source lang="mIRC">//echo -a $get(3).pc</source><br />
<br />
Echo the total number of transfers:<br />
<source lang="mIRC">//echo -a $get(0)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.52}}<br />
<br />
== See Also ==<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$send}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$get&diff=44580
mirc/identifiers/$get
2017-06-12T18:35:42Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$get Identifier}}The '''$get''' identifier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows.<br />
<br />
== Synopsis ==<br />
<pre>$get(N/nick[,N])[.property]</pre><br />
<br />
== Parameters ==<br />
{{ArgsList<br />
| N/nick | Refers to either the Nth open connection, or the connection associated with a specific user's nickname<br />
| [N] | If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match<br />
}}<br />
<br /><br /><br />
<br />
'''Note''': $get(-1) can be used during the {{mIRC|on event/on filercvd|on filercvd}} and {{mIRC|on event/on getfail|on getfail}}, it refers to the 'get' which triggered that event.<br />
<br />
== Properties ==<br />
{{ArgsList<br />
| cid | The connection id<br />
| cps | The characters-per-second transfer rate<br />
| done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}}<br />
| file | The file name of the current transfer<br />
| hwnd | The window handle<br />
| idle | How long since the file transfer has been idle<br />
| ip | The [[IP Address]] for the remote user<br />
| path | The path of the file name being transferred<br />
| pc | The percentage complete for the transfer<br />
| rcvd | The total amount of bytes received so far<br />
| resume | If the transfer has been resumed, returns the location in the file from where the resume took place<br />
| secs | The total number of seconds the transfer has been connected<br />
| size | The file size in bytes for the transfer<br />
| status | The status of the window; returns: '''active''', or '''inactive'''<br />
| wid | The mIRC window id for this window<br />
}}<br />
<br />
== Example ==<br />
Echo the total percent completed of the 3rd transfer:<br />
<source lang="mIRC">//echo -a $get(3).pc</source><br />
<br />
Echo the total number of transfers:<br />
<source lang="mIRC">//echo -a $get(0)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.52}}<br />
<br />
== See Also ==<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$send}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers&diff=44579
mirc/identifiers
2017-06-12T18:34:19Z
<p>83.204.157.118: /* Deprecated identifiers */</p>
<hr />
<div>{{mirc title|List of Identifiers}}<br />
'''mIRC identifiers''' are a set of built-in value-returning routines that can be used to query mIRC for various data structures, mIRC, IRC, and OS related properties such as a file size or the 6th nick in a channel.<br />
<br />
== List of identifiers (alphabetized) ==<br />
<!--<br />
============================================<br />
= HELLO VISITOR!<br />
= IF YOU ARE ADDING AN IDENTIFIER TO THIS LIST PLEASE ALSO UPDATE<br />
= THE NAVIGATION TEMPLATE (WHICH IS USED AT THE BOTTOM)<br />
= Template:mIRC identifier list<br />
= (http://en.wikichip.org/wiki/Template:mIRC_identifier_list)<br />
============================================<br />
--><br />
{| id="mp-langs1" style="margin:4px 0 0 0; width:70%; background:none; border-spacing: 0px;"<br />
| style="width:100%; vertical-align:top; color:#000;" |<br />
{| id="mp-bottom" style="width:100%; vertical-align:top; "<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$}}<br />
* {{mIRC|$!}}<br />
* {{mIRC|$?}}<br />
* {{mIRC|$*}}<br />
* {{mIRC|$&}}<br />
* {{mIRC|$++}}<br />
* {{mIRC|$+}}<br />
* {{mIRC|$abook}}<br />
* {{mIRC|$abs}}<br />
* {{mIRC|$acos}}<br />
* {{mIRC|$active}}<br />
* {{mIRC|$activecid}}<br />
* {{mIRC|$activewid}}<br />
* {{mIRC|$adate}}<br />
* {{mIRC|$address}}<br />
* {{mIRC|$addtok}}<br />
* {{mIRC|$addtokcs}}<br />
* {{mIRC|$agent}}<br />
* {{mIRC|$agentname}}<br />
* {{mIRC|$agentstat}}<br />
* {{mIRC|$agentver}}<br />
* {{mIRC|$alias}}<br />
* {{mIRC|$and}}<br />
* {{mIRC|$anick}}<br />
* {{mIRC|$ansi2mirc}}<br />
* {{mIRC|$aop}}<br />
* {{mIRC|$appactive}}<br />
* {{mIRC|$appstate}}<br />
* {{mIRC|$asc}}<br />
* {{mIRC|$asctime}}<br />
* {{mIRC|$asin}}<br />
* {{mIRC|$atan}}<br />
* {{mIRC|$atan2}}<br />
* {{mIRC|$auto}}<br />
* {{mIRC|$avoice}}<br />
* {{mIRC|$away}}<br />
* {{mIRC|$awaymsg}}<br />
* {{mIRC|$awaytime}}<br />
* {{mIRC|$banmask}}<br />
* {{mIRC|$base}}<br />
* {{mIRC|$beta}}<br />
* {{mIRC|$bfind}}<br />
* {{mIRC|$bindip}}<br />
* {{mIRC|$bitoff}}<br />
* {{mIRC|$biton}}<br />
* {{mIRC|$bits}}<br />
* {{mIRC|$bnick}}<br />
* {{mIRC|$bvar}}<br />
* {{mIRC|$bytes}}<br />
* {{mIRC|$calc}}<br />
* {{mIRC|$cancel}}<br />
* {{mIRC|$cb}}<br />
* {{mIRC|$cd}}<br />
* {{mIRC|$ceil}}<br />
* {{mIRC|$chan}}<br />
* {{mIRC|$chanmodes}}<br />
* {{mIRC|$channel}}<br />
* {{mIRC|$chantypes}}<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$chr}}<br />
* {{mIRC|$cid}}<br />
* {{mIRC|$clevel}}<br />
* {{mIRC|$click}}<br />
* {{mIRC|$cmdbox}}<br />
* {{mIRC|$cmdline}}<br />
* {{mIRC|$cnick}}<br />
<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$color}}<br />
* {{mIRC|$colour}}<br />
* {{mIRC|$com}}<br />
* {{mIRC|$comcall}}<br />
* {{mIRC|$comchan}}<br />
* {{mIRC|$comchar}}<br />
* {{mIRC|$comerr}}<br />
* {{mIRC|$compact}}<br />
* {{mIRC|$compress}}<br />
* {{mIRC|$comval}}<br />
* {{mIRC|$cos}}<br />
* {{mIRC|$cosh}}<br />
* {{mIRC|$count}}<br />
* {{mIRC|$cr}}<br />
* {{mIRC|$crc}}<br />
* {{mIRC|$creq}}<br />
* {{mIRC|$crlf}}<br />
* {{mIRC|$ctime}}<br />
* {{mIRC|$ctimer}}<br />
* {{mIRC|$ctrlenter}}<br />
* {{mIRC|$date}}<br />
* {{mIRC|$day}}<br />
* {{mIRC|$daylight}}<br />
* {{mIRC|$dbuh}}<br />
* {{mIRC|$dbuw}}<br />
* {{mIRC|$dccignore}}<br />
* {{mIRC|$dccport}}<br />
* {{mIRC|$dde}}<br />
* {{mIRC|$ddename}}<br />
* {{mIRC|$debug}}<br />
* {{mIRC|$decode}}<br />
* {{mIRC|$decompress}}<br />
* {{mIRC|$deltok}}<br />
* {{mIRC|$devent}}<br />
* {{mIRC|$dialog}}<br />
* {{mIRC|$did}}<br />
* {{mIRC|$didreg}}<br />
* {{mIRC|$didtok}}<br />
* {{mIRC|$didwm}}<br />
* {{mIRC|$dir}}<br />
* {{mIRC|$disk}}<br />
* {{mIRC|$dlevel}}<br />
* {{mIRC|$dll}}<br />
* {{mIRC|$dllcall}}<br />
* {{mIRC|$dname}}<br />
* {{mIRC|$dns}}<br />
* {{mIRC|$duration}}<br />
* {{mIRC|$ebeeps}}<br />
* {{mIRC|$editbox}}<br />
* {{mIRC|$email}}<br />
* {{mIRC|$emailaddr}}<br />
* {{mIRC|$encode}}<br />
* {{mIRC|$envvar}}<br />
* {{mIRC|$error}}<br />
* {{mIRC|$eval}}<br />
* {{mIRC|$evalnext}}<br />
* {{mIRC|$event}}<br />
* {{mIRC|$eventid}}<br />
* {{mIRC|$exists}}<br />
* {{mIRC|$exiting}}<br />
* {{mIRC|$false}}<br />
* {{mIRC|$feof}}<br />
* {{mIRC|$ferr}}<br />
* {{mIRC|$fgetc}}<br />
* {{mIRC|$file}}<br />
<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$filename}}<br />
* {{mIRC|$filtered}}<br />
* {{mIRC|$find}}<br />
* {{mIRC|$finddir}}<br />
* {{mIRC|$finddirn}}<br />
* {{mIRC|$findfile}}<br />
* {{mIRC|$findfilen}}<br />
* {{mIRC|$findtok}}<br />
* {{mIRC|$findtokcs}}<br />
* {{mIRC|$fline}}<br />
* {{mIRC|$floor}}<br />
* {{mIRC|$fopen}}<br />
* {{mIRC|$fread}}<br />
* {{mIRC|$fserv}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$fulladdress}}<br />
* {{mIRC|$fulldate}}<br />
* {{mIRC|$fullname}}<br />
* {{mIRC|$fullscreen}}<br />
* {{mIRC|$get}}<br />
* {{mIRC|$getdir}}<br />
* {{mIRC|$getdot}}<br />
* {{mIRC|$gettok}}<br />
* {{mIRC|$gmt}}<br />
* {{mIRC|$group}}<br />
* {{mIRC|$halted}}<br />
* {{mIRC|$hash}}<br />
* {{mIRC|$height}}<br />
* {{mIRC|$hfile}}<br />
* {{mIRC|$hfind}}<br />
* {{mIRC|$hget}}<br />
* {{mIRC|$highlight}}<br />
* {{mIRC|$hmac}}<br />
* {{mIRC|$hmatch}}<br />
* {{mIRC|$hnick}}<br />
* {{mIRC|$host}}<br />
* {{mIRC|$hotline}}<br />
* {{mIRC|$hotlinepos}}<br />
* {{mIRC|$hotlink}}<br />
* {{mIRC|$hotp}}<br />
* {{mIRC|$hregex}}<br />
* {{mIRC|$hypot}}<br />
* {{mIRC|$iaddress}}<br />
* {{mIRC|$ial}}<br />
* {{mIRC|$ialchan}}<br />
* {{mIRC|$ibl}}<br />
* {{mIRC|$idle}}<br />
* {{mIRC|$iel}}<br />
* {{mIRC|$ifmatch}}<br />
* {{mIRC|$ifmatch2}}<br />
* {{mIRC|$ignore}}<br />
* {{mIRC|$iif}}<br />
* {{mIRC|$iil}}<br />
* {{mIRC|$inellipse}}<br />
* {{mIRC|$ini}}<br />
* {{mIRC|$initopic}}<br />
* {{mIRC|$inmidi}}<br />
* {{mIRC|$inmode}}<br />
* {{mIRC|$inmp3}}<br />
* {{mIRC|$inpaste}}<br />
* {{mIRC|$inpoly}}<br />
* {{mIRC|$input}}<br />
* {{mIRC|$inrect}}<br />
* {{mIRC|$inroundrect}}<br />
* {{mIRC|$insong}}<br />
<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$insongpause}}<br />
* {{mIRC|$instok}}<br />
* {{mIRC|$int}}<br />
* {{mIRC|$intersect}}<br />
* {{mIRC|$inwave}}<br />
* {{mIRC|$inwho}}<br />
* {{mIRC|$ip}}<br />
* {{mIRC|$iptype}}<br />
* {{mIRC|$isalias}}<br />
* {{mIRC|$isbit}}<br />
* {{mIRC|$isdde}}<br />
* {{mIRC|$isdir}}<br />
* {{mIRC|$isfile}}<br />
* {{mIRC|$isid}}<br />
* {{mIRC|$islower}}<br />
* {{mIRC|$istok}}<br />
* {{mIRC|$isupper}}<br />
* {{mIRC|$isutf}}<br />
* {{mIRC|$keychar}}<br />
* {{mIRC|$keyrpt}}<br />
* {{mIRC|$keyval}}<br />
* {{mIRC|$lactive}}<br />
* {{mIRC|$lactivecid}}<br />
* {{mIRC|$lactivewid}}<br />
* {{mIRC|$left}}<br />
* {{mIRC|$leftwin}}<br />
* {{mIRC|$leftwinwid}}<br />
* {{mIRC|$len}}<br />
* {{mIRC|$level}}<br />
* {{mIRC|$lf}}<br />
* {{mIRC|$line}}<br />
* {{mIRC|$lines}}<br />
* {{mIRC|$link}}<br />
* {{mIRC|$lock}}<br />
* {{mIRC|$locked}}<br />
* {{mIRC|$lof}}<br />
* {{mIRC|$log}}<br />
* {{mIRC|$log10}}<br />
* {{mIRC|$logdir}}<br />
* {{mIRC|$logstamp}}<br />
* {{mIRC|$logstampfmt}}<br />
* {{mIRC|$longfn}}<br />
* {{mIRC|$longip}}<br />
* {{mIRC|$lower}}<br />
* {{mIRC|$ltimer}}<br />
* {{mIRC|$maddress}}<br />
* {{mIRC|$mask}}<br />
* {{mIRC|$matchkey}}<br />
* {{mIRC|$matchtok}}<br />
* {{mIRC|$matchtokcs}}<br />
* {{mIRC|$md5}}<br />
* {{mIRC|$me}}<br />
* {{mIRC|$menu}}<br />
* {{mIRC|$menubar}}<br />
* {{mIRC|$menucontext}}<br />
* {{mIRC|$menutype}}<br />
* {{mIRC|$mid}}<br />
* {{mIRC|$mididir}}<br />
* {{mIRC|$mircdir}}<br />
* {{mIRC|$mircexe}}<br />
* {{mIRC|$mircini}}<br />
* {{mIRC|$mkfn}}<br />
* {{mIRC|$mklogfn}}<br />
* {{mIRC|$mknickfn}}<br />
* {{mIRC|$mnick}}<br />
<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$mode}}<br />
* {{mIRC|$modefirst}}<br />
* {{mIRC|$modelast}}<br />
* {{mIRC|$modespl}}<br />
* {{mIRC|$mouse}}<br />
* {{mIRC|$mouse.cx}}<br />
* {{mIRC|$mouse.cy}}<br />
* {{mIRC|$mouse.dx}}<br />
* {{mIRC|$mouse.dy}}<br />
* {{mIRC|$mouse.key}}<br />
* {{mIRC|$mouse.lb}}<br />
* {{mIRC|$mouse.x}}<br />
* {{mIRC|$mouse.y}}<br />
* {{mIRC|$mouse.win}}<br />
* {{mIRC|$mp3}}<br />
* {{mIRC|$mp3dir}}<br />
* {{mIRC|$msfile}}<br />
* {{mIRC|$msgstamp}}<br />
* {{mIRC|$msgtags}}<br />
* {{mIRC|$n}}<br />
* {{mIRC|$naddress}}<br />
* {{mIRC|$network}}<br />
* {{mIRC|$nhnick}}<br />
* {{mIRC|$nick}}<br />
* {{mIRC|$nickmode}}<br />
* {{mIRC|$no}}<br />
* {{mIRC|$nofile}}<br />
* {{mIRC|$nopath}}<br />
* {{mIRC|$nopnick}}<br />
* {{mIRC|$noqt}}<br />
* {{mIRC|$not}}<br />
* {{mIRC|$notags}}<br />
* {{mIRC|$notify}}<br />
* {{mIRC|$null}}<br />
* {{mIRC|$numeric}}<br />
* {{mIRC|$numtok}}<br />
* {{mIRC|$nvnick}}<br />
* {{mIRC|$ok}}<br />
* {{mIRC|$online}}<br />
* {{mIRC|$onlineserver}}<br />
* {{mIRC|$onlinetotal}}<br />
* {{mIRC|$onpoly}}<br />
* {{mIRC|$opnick}}<br />
* {{mIRC|$or}}<br />
* {{mIRC|$ord}}<br />
* {{mIRC|$os}}<br />
* {{mIRC|$parmN}}<br />
* {{mIRC|$parms}}<br />
* {{mIRC|$parseline}}<br />
* {{mIRC|$parsetype}}<br />
* {{mIRC|$parseutf}}<br />
* {{mIRC|$passivedcc}}<br />
* {{mIRC|$pi}}<br />
* {{mIRC|$pic}}<br />
* {{mIRC|$play}}<br />
* {{mIRC|$pnick}}<br />
* {{mIRC|$portable}}<br />
* {{mIRC|$portfree}}<br />
* {{mIRC|$pos}}<br />
* {{mIRC|$poscs}}<br />
* {{mIRC|$prefix}}<br />
* {{mIRC|$prop}}<br />
* {{mIRC|$protect}}<br />
* {{mIRC|$puttok}}<br />
* {{mIRC|$qt}}<br />
<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$query}}<br />
* {{mIRC|$r}}<br />
* {{mIRC|$raddress}}<br />
* {{mIRC|$rand}}<br />
* {{mIRC|$rawbytes}}<br />
* {{mIRC|$rawmsg}}<br />
* {{mIRC|$read}}<br />
* {{mIRC|$readini}}<br />
* {{mIRC|$readn}}<br />
* {{mIRC|$regbr}}<br />
* {{mIRC|$regex}}<br />
* {{mIRC|$regml}}<br />
* {{mIRC|$regsub}}<br />
* {{mIRC|$regsubex}}<br />
* {{mIRC|$remote}}<br />
* {{mIRC|$remove}}<br />
* {{mIRC|$removecs}}<br />
* {{mIRC|$remtok}}<br />
* {{mIRC|$remtokcs}}<br />
* {{mIRC|$replace}}<br />
* {{mIRC|$replacecs}}<br />
* {{mIRC|$replacex}}<br />
* {{mIRC|$reptok}}<br />
* {{mIRC|$result}}<br />
* {{mIRC|$rgb}}<br />
* {{mIRC|$right}}<br />
* {{mIRC|$rnick}}<br />
* {{mIRC|$round}}<br />
* {{mIRC|$scid}}<br />
* {{mIRC|$scon}}<br />
* {{mIRC|$script}}<br />
* {{mIRC|$scriptdir}}<br />
* {{mIRC|$scriptline}}<br />
* {{mIRC|$sdir}}<br />
* {{mIRC|$send}}<br />
* {{mIRC|$server}}<br />
* {{mIRC|$serverip}}<br />
* {{mIRC|$servertarget}}<br />
* {{mIRC|$sfile}}<br />
* {{mIRC|$sha1}}<br />
* {{mIRC|$sha256}}<br />
* {{mIRC|$sha384}}<br />
* {{mIRC|$sha512}}<br />
* {{mIRC|$shortfn}}<br />
* {{mIRC|$show}}<br />
* {{mIRC|$signal}}<br />
* {{mIRC|$sin}}<br />
* {{mIRC|$sinh}}<br />
* {{mIRC|$site}}<br />
* {{mIRC|$sline}}<br />
* {{mIRC|$snick}}<br />
* {{mIRC|$snicks}}<br />
* {{mIRC|$snotify}}<br />
* {{mIRC|$sock}}<br />
* {{mIRC|$sockbr}}<br />
* {{mIRC|$sockerr}}<br />
* {{mIRC|$sockname}}<br />
* {{mIRC|$sorttok}}<br />
* {{mIRC|$sorttokcs}}<br />
* {{mIRC|$sound}}<br />
* {{mIRC|$speak}}<br />
* {{mIRC|$sqrt}}<br />
* {{mIRC|$sreq}}<br />
* {{mIRC|$ssl}}<br />
* {{mIRC|$ssldll}}<br />
<br />
| style="width:5%; font-size:95%; vertical-align: top;" |<br />
* {{mIRC|$ssllibdll}}<br />
* {{mIRC|$sslready}}<br />
* {{mIRC|$sslversion}}<br />
* {{mIRC|$starting}}<br />
* {{mIRC|$status}}<br />
* {{mIRC|$str}}<br />
* {{mIRC|$strip}}<br />
* {{mIRC|$stripped}}<br />
* {{mIRC|$style}}<br />
* {{mIRC|$submenu}}<br />
* {{mIRC|$switchbar}}<br />
* {{mIRC|$sysdir}}<br />
* {{mIRC|$tan}}<br />
* {{mIRC|$tanh}}<br />
* {{mIRC|$target}}<br />
* {{mIRC|$ticks}}<br />
* {{mIRC|$time}}<br />
* {{mIRC|$timeout}}<br />
* {{mIRC|$timer}}<br />
* {{mIRC|$timestamp}}<br />
* {{mIRC|$timestampfmt}}<br />
* {{mIRC|$timezone}}<br />
* {{mIRC|$tip}}<br />
* {{mIRC|$tips}}<br />
* {{mIRC|$titlebar}}<br />
* {{mIRC|$token}}<br />
* {{mIRC|$toolbar}}<br />
* {{mIRC|$topic}}<br />
* {{mIRC|$totp}}<br />
* {{mIRC|$treebar}}<br />
* {{mIRC|$true}}<br />
* {{mIRC|$trust}}<br />
* {{mIRC|$ulevel}}<br />
* {{mIRC|$ulist}}<br />
* {{mIRC|$upper}}<br />
* {{mIRC|$uptime}}<br />
* {{mIRC|$url}}<br />
* {{mIRC|$usermode}}<br />
* {{mIRC|$utfdecode}}<br />
* {{mIRC|$utfencode}}<br />
* {{mIRC|$v1}}<br />
* {{mIRC|$v2}}<br />
* {{mIRC|$var}}<br />
* {{mIRC|$vcmd}}<br />
* {{mIRC|$vcmdstat}}<br />
* {{mIRC|$vcmdver}}<br />
* {{mIRC|$version}}<br />
* {{mIRC|$vnick}}<br />
* {{mIRC|$vol}}<br />
* {{mIRC|$wavedir}}<br />
* {{mIRC|$wid}}<br />
* {{mIRC|$width}}<br />
* {{mIRC|$wildsite}}<br />
* {{mIRC|$wildtok}}<br />
* {{mIRC|$wildtok}}<br />
* {{mIRC|$window}}<br />
* {{mIRC|$wrap}}<br />
* {{mIRC|$xor}}<br />
* {{mIRC|$yes}}<br />
* {{mIRC|{{=}}$nick identifier|{{=}}$nick}}<br />
|}<br />
|}<br />
<br />
== Deprecated identifiers ==<br />
27 identifiers have been deprecated in favor of new ones.<br />
<br />
{| id="mp-langs1" style="margin:4px 0 0 0; width:40%; background:none; border-spacing: 0px;"<br />
| class="MainPageBG" style="width:100%; vertical-align:top; color:#000;" |<br />
{| id="mp-bottom" style="width:100%; vertical-align:top; "<br />
<br />
| style="vertical-align: top; width:5%; font-size:95%;" |<br />
* {{mIRC|$?}}<br />
* {{mIRC|$auto}}<br />
* {{mIRC|$banlist}}<br />
* {{mIRC|$channel}}<br />
* {{mIRC|$colour}}<br />
* {{mIRC|$dir}}<br />
* {{mIRC|$email}}<br />
* {{mIRC|$evalnext}}<br />
* {{mIRC|$file}}<br />
* {{mIRC|$fserv}}<br />
* {{mIRC|$hfile}}<br />
<br />
| style="vertical-align: top; width:5%; font-size:95%;" |<br />
* {{mIRC|$hmatch}}<br />
* {{mIRC|$hregex}}<br />
* {{mIRC|$iaddress}}<br />
* {{mIRC|$ifmatch}}<br />
* {{mIRC|$ifmatch2}}<br />
* {{mIRC|$initopic}}<br />
* {{mIRC|$inmp3}}<br />
* {{mIRC|$lof}}<br />
* {{mIRC|$maddress}}<br />
* {{mIRC|$mp3}}<br />
* {{mIRC|$mp3dir}}<br />
<br />
| style="vertical-align: top; width:5%; font-size:95%;" |<br />
* {{mIRC|$naddress}}<br />
* {{mIRC|$nhnick}}<br />
* {{mIRC|$nopnick}}<br />
* {{mIRC|$nvnick}}<br />
* {{mIRC|$r}}<br />
* {{mIRC|$raddress}}<br />
* {{mIRC|$token}}<br />
* {{mIRC|$vnick}}<br />
* {{mIRC|$wavedir}}<br />
|}<br />
|}<br />
<br />
== Removed identifiers ==<br />
Two identifiers have been completely removed from mIRC.<br />
* {{mIRC|$parmN}}<br />
* {{mIRC|$parms}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:mIRC]]<br />
[[Category:mIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$get&diff=44578
mirc/identifiers/$get
2017-06-12T18:32:25Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$get Identifier}}The '''$get''' identifier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows.<br />
<br />
== Synopsis ==<br />
<pre>$get(N/nick[,N])[.property]</pre><br />
<br />
== Parameters ==<br />
{{ArgsList<br />
| N/nick | Refers to either the Nth open connection, or the connection associated with a specific user's nickname<br />
| [N] | If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match<br />
}}<br />
<br /><br /><br />
<br />
'''Note''': $get(-1) can be used during the {{mIRC|on events|on FILERCVD}} and {{mIRC|on GETFAIL}}, it refers to the 'get' which triggered that event.<br />
<br />
== Properties ==<br />
{{ArgsList<br />
| cid | The connection id<br />
| cps | The characters-per-second transfer rate<br />
| done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}}<br />
| file | The file name of the current transfer<br />
| hwnd | The window handle<br />
| idle | How long since the file transfer has been idle<br />
| ip | The [[IP Address]] for the remote user<br />
| path | The path of the file name being transferred<br />
| pc | The percentage complete for the transfer<br />
| rcvd | The total amount of bytes received so far<br />
| resume | If the transfer has been resumed, returns the location in the file from where the resume took place<br />
| secs | The total number of seconds the transfer has been connected<br />
| size | The file size in bytes for the transfer<br />
| status | The status of the window; returns: '''active''', or '''inactive'''<br />
| wid | The mIRC window id for this window<br />
}}<br />
<br />
== Example ==<br />
Echo the total percent completed of the 3rd transfer:<br />
<source lang="mIRC">//echo -a $get(3).pc</source><br />
<br />
Echo the total number of transfers:<br />
<source lang="mIRC">//echo -a $get(0)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.52}}<br />
<br />
== See Also ==<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$send}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$get&diff=44577
mirc/identifiers/$get
2017-06-12T18:32:06Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$get Identifier}}The '''$get''' identifier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows.<br />
<br />
== Synopsis ==<br />
<pre>$get(N/nick[,N])[.property]</pre><br />
<br />
== Parameters ==<br />
{{ArgsList<br />
| N/nick | Refers to either the Nth open connection, or the connection associated with a specific user's nickname<br />
| [N] | If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match<br />
}}<br />
<br /><br /><br />
<br />
'''Note''': $get(-1) can be used during the {{mIRC|on events/on FILERCVD}} and {{mIRC|on GETFAIL}}, it refers to the 'get' which triggered that event.<br />
<br />
== Properties ==<br />
{{ArgsList<br />
| cid | The connection id<br />
| cps | The characters-per-second transfer rate<br />
| done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}}<br />
| file | The file name of the current transfer<br />
| hwnd | The window handle<br />
| idle | How long since the file transfer has been idle<br />
| ip | The [[IP Address]] for the remote user<br />
| path | The path of the file name being transferred<br />
| pc | The percentage complete for the transfer<br />
| rcvd | The total amount of bytes received so far<br />
| resume | If the transfer has been resumed, returns the location in the file from where the resume took place<br />
| secs | The total number of seconds the transfer has been connected<br />
| size | The file size in bytes for the transfer<br />
| status | The status of the window; returns: '''active''', or '''inactive'''<br />
| wid | The mIRC window id for this window<br />
}}<br />
<br />
== Example ==<br />
Echo the total percent completed of the 3rd transfer:<br />
<source lang="mIRC">//echo -a $get(3).pc</source><br />
<br />
Echo the total number of transfers:<br />
<source lang="mIRC">//echo -a $get(0)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.52}}<br />
<br />
== See Also ==<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$send}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$get&diff=44576
mirc/identifiers/$get
2017-06-12T18:31:53Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$get Identifier}}The '''$get''' identifier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows.<br />
<br />
== Synopsis ==<br />
<pre>$get(N/nick[,N])[.property]</pre><br />
<br />
== Parameters ==<br />
{{ArgsList<br />
| N/nick | Refers to either the Nth open connection, or the connection associated with a specific user's nickname<br />
| [N] | If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match<br />
}}<br />
<br /><br /><br />
<br />
'''Note''': $get(-1) can be used during the {{mIRC|on event/on FILERCVD}} and {{mIRC|on GETFAIL}}, it refers to the 'get' which triggered that event.<br />
<br />
== Properties ==<br />
{{ArgsList<br />
| cid | The connection id<br />
| cps | The characters-per-second transfer rate<br />
| done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}}<br />
| file | The file name of the current transfer<br />
| hwnd | The window handle<br />
| idle | How long since the file transfer has been idle<br />
| ip | The [[IP Address]] for the remote user<br />
| path | The path of the file name being transferred<br />
| pc | The percentage complete for the transfer<br />
| rcvd | The total amount of bytes received so far<br />
| resume | If the transfer has been resumed, returns the location in the file from where the resume took place<br />
| secs | The total number of seconds the transfer has been connected<br />
| size | The file size in bytes for the transfer<br />
| status | The status of the window; returns: '''active''', or '''inactive'''<br />
| wid | The mIRC window id for this window<br />
}}<br />
<br />
== Example ==<br />
Echo the total percent completed of the 3rd transfer:<br />
<source lang="mIRC">//echo -a $get(3).pc</source><br />
<br />
Echo the total number of transfers:<br />
<source lang="mIRC">//echo -a $get(0)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.52}}<br />
<br />
== See Also ==<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$send}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$get&diff=44575
mirc/identifiers/$get
2017-06-12T18:30:20Z
<p>83.204.157.118: /* Parameters */</p>
<hr />
<div>{{mirc title|$get Identifier}}The '''$get''' identifier can be used to gather various details regarding open [[/dcc command - mIRC|DCC Get]] windows.<br />
<br />
== Synopsis ==<br />
<pre>$get(N/nick[,N])[.property]</pre><br />
<br />
== Parameters ==<br />
{{ArgsList<br />
| N/nick | Refers to either the Nth open connection, or the connection associated with a specific user's nickname<br />
| [N] | If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match<br />
}}<br />
<br /><br /><br />
<br />
'''Note''': $get(-1) can be used during the {{mIRC|on FILERCVD}} and {{mIRC|on GETFAIL}}, it refers to the 'get' which triggered that event.<br />
<br />
== Properties ==<br />
{{ArgsList<br />
| cid | The connection id<br />
| cps | The characters-per-second transfer rate<br />
| done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}}<br />
| file | The file name of the current transfer<br />
| hwnd | The window handle<br />
| idle | How long since the file transfer has been idle<br />
| ip | The [[IP Address]] for the remote user<br />
| path | The path of the file name being transferred<br />
| pc | The percentage complete for the transfer<br />
| rcvd | The total amount of bytes received so far<br />
| resume | If the transfer has been resumed, returns the location in the file from where the resume took place<br />
| secs | The total number of seconds the transfer has been connected<br />
| size | The file size in bytes for the transfer<br />
| status | The status of the window; returns: '''active''', or '''inactive'''<br />
| wid | The mIRC window id for this window<br />
}}<br />
<br />
== Example ==<br />
Echo the total percent completed of the 3rd transfer:<br />
<source lang="mIRC">//echo -a $get(3).pc</source><br />
<br />
Echo the total number of transfers:<br />
<source lang="mIRC">//echo -a $get(0)</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.52}}<br />
<br />
== See Also ==<br />
* {{mIRC|$chat}}<br />
* {{mIRC|$fserve}}<br />
* {{mIRC|$send}}<br />
{{mIRC identifier list}}<br />
<br />
[[Category:MIRC identifiers]]</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$islower&diff=44574
mirc/identifiers/$islower
2017-06-12T18:24:50Z
<p>83.204.157.118: </p>
<hr />
<div><br />
<br />
{{mirc title|$islower Identifier}}'''$islower''' Returns $true if text is all lower case, otherwise returns $false.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$islower(text)</source><br />
<br />
== Paramters ==<br />
<br />
'''text''' - The input string to be checked<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $islower(abcdefg)</source><br />
<br />
will return '''$true'''<br />
<br />
<source lang="mIRC">//echo -a $islower(abcdefG)</source><br />
<br />
will return '''$false''' because not all the character are lower case<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.61}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$isupper}}<br />
* {{mIRC|$true}}<br />
* {{mIRC|$false}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$isupper&diff=44573
mirc/identifiers/$isupper
2017-06-12T18:23:25Z
<p>83.204.157.118: </p>
<hr />
<div><br />
<br />
{{mirc title|$isupper Identifier}}'''$isupper''' returns $true if text is all upper case, otherwise returns $false.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$isupper(text)</source><br />
<br />
== Paramters ==<br />
<br />
'''text''' - The string to be checked<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $isupper(ABCDEFG)</source><br />
<br />
will return '''$true'''<br />
<br />
<source lang="mIRC">//echo -a $isupper(ABCDEFg)</source><br />
<br />
will return '''$false''' because not all character are upper case.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.61}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$islower}}<br />
* {{mIRC|$true}}<br />
* {{mIRC|$false}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$len&diff=44572
mirc/identifiers/$len
2017-06-12T18:21:38Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$len Identifier}}'''$len(text)''' returns the number of characters in the text<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$len(text)</source><br />
<br />
== Paramters ==<br />
<br />
'''text''' - The input string you want to know the lenght of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $len(ONE)</source><br />
<br />
will return '''3'''<br />
<br />
<source lang="mIRC">//echo -a $len(ONE TWO)</source><br />
<br />
will return '''7'''<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.5}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$count}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$lines&diff=44571
mirc/identifiers/$lines
2017-06-12T18:20:02Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$lines Identifier}}'''$lines''' Returns the total number of lines in the specified text file.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$lines(filename)</source><br />
<br />
== Paramters ==<br />
<br />
'''filename''' - The complete filename you want to know the total number of.<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $lines(readme.txt)</source><br />
<br />
will return the total number of lines in the relative filename readme.txt.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.5}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$read}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$len&diff=44570
mirc/identifiers/$len
2017-06-12T18:14:21Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$len Identifier}}'''$len(text)''' returns the number of characters in the text<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$len(text)</source><br />
<br />
== Paramters ==<br />
<br />
'''text''' = The input string you want to know the lenght of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $len(ONE)</source><br />
<br />
will return '''3'''<br />
<br />
<source lang="mIRC">//echo -a $len(ONE TWO)</source><br />
<br />
will return '''7'''<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.5}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$count}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$len&diff=44569
mirc/identifiers/$len
2017-06-12T18:14:10Z
<p>83.204.157.118: </p>
<hr />
<div><br />
<br />
{{mirc title|$len Identifier}}'''$len(text)''' returns the number of characters in the text<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$len(text)</source><br />
<br />
== Paramters ==<br />
<br />
'''Text''' = The input string you want to know the lenght of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $len(ONE)</source><br />
<br />
will return '''3'''<br />
<br />
<source lang="mIRC">//echo -a $len(ONE TWO)</source><br />
<br />
will return '''7'''<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.5}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$count}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$lines&diff=44568
mirc/identifiers/$lines
2017-06-12T18:10:50Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$lines Identifier}}'''$lines''' Returns the total number of lines in the specified text file.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$lines(filename)</source><br />
<br />
== Paramters ==<br />
<br />
'''filename''' = The complete filename you want to know the total number of.<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $lines(readme.txt)</source><br />
<br />
will return the total number of lines in the relative filename readme.txt.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.5}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$read}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$lines&diff=44567
mirc/identifiers/$lines
2017-06-12T18:10:30Z
<p>83.204.157.118: </p>
<hr />
<div><br />
<br />
{{mirc title|$lines Identifier}}'''$lines''' Returns the total number of lines in the specified text file.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$lines(filename)</source><br />
<br />
== Paramters ==<br />
<br />
'''Filename''' = ''The complete filename you want to know the total number of.''<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $lines(readme.txt)</source><br />
<br />
will return the total number of lines in the relative filename readme.txt.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.5}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$read}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$r&diff=44565
mirc/identifiers/$r
2017-06-12T16:27:21Z
<p>83.204.157.118: </p>
<hr />
<div>{{mirc title|$r Identifier}} $r is a shortcut for {{mIRC|$rand}}.</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$r&diff=44564
mirc/identifiers/$r
2017-06-12T16:26:15Z
<p>83.204.157.118: Replaced content with "{{mirc title|$r Identifier}} See {{mIRC|$rand}}"</p>
<hr />
<div>{{mirc title|$r Identifier}} See {{mIRC|$rand}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$rand&diff=44563
mirc/identifiers/$rand
2017-06-12T16:25:07Z
<p>83.204.157.118: </p>
<hr />
<div><br />
<br />
{{mirc title|$rand Identifier}}'''$rand(value1,value2)''' returns a random number between v1 and v2. If you supply a value which is not a number, it uses its code point value as the number.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$rand(value1,value2)</source><br />
<br />
== Paramters ==<br />
<br />
'''Value1''' = the starting value<br />
<br />
'''Value2''' = the ending value<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Examples ==<br />
<source lang="mIRC">//echo -a $rand(0,10)</source><br />
<br />
will return a random number between 0 up to 10.<br />
<br />
<source lang="mIRC">//echo -a $rand(A,Z)</source><br />
<br />
will return a random upper case between A and Z.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$r}}<br />
* {{mIRC|$v1}}<br />
* {{mIRC|$v2}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$rand&diff=44562
mirc/identifiers/$rand
2017-06-12T16:21:57Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$rand Identifier}}'''$rand(value1,value2)''' This works in two ways. If you supply it with numbers for v1 and v2, it returns a random number between v1 and v2. If you supply it with letters, it returns a random letter between letters v1 and v2.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$rand(value1,value2)</source><br />
<br />
== Paramters ==<br />
<br />
'''Value1''' = the starting value<br />
<br />
'''Value2''' = the ending value<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Examples ==<br />
<source lang="mIRC">//echo -a $rand(0,10)</source><br />
<br />
It will return an random number between 0 up to 10.<br />
<br />
<source lang="mIRC">//echo -a $rand(a,z)</source><br />
<br />
It will return an lower case random letter between a up to z.<br />
<br />
<source lang="mIRC">//echo -a $rand(A,Z)</source><br />
<br />
It will return an upper case random number between A up to Z.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|2.1a}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$r}}<br />
* {{mIRC|$v1}}<br />
* {{mIRC|$v2}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$int&diff=44538
mirc/identifiers/$int
2017-06-12T13:58:18Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$int Identifier}}'''$int(number)''' Returns the integer part of a floating point number with no rounding.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$int(N)</source><br />
<br />
== Paramters ==<br />
<br />
* '''N''' = The number you want the integer part of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $int(1.99999999999999)</source><br />
<br />
It will return '''1''' because it's integer the given number value.<br />
<br />
<source lang="mIRC">//echo -a $int(1.9999999999999999)</source><br />
<br />
It will return '''2''' because it's integer the given number value.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.1}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$round}}<br />
* {{mIRC|$calc}}<br />
* {{mIRC|$floor}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$nopath&diff=44536
mirc/identifiers/$nopath
2017-06-12T13:51:39Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$nopath Identifier}}'''$nopath(path)''' Returns filename without a path if it has one.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$nopath(path)</source><br />
<br />
== Paramters ==<br />
<br />
'''Path''' = the filename you want the path of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $nopath($mircexe)</source><br />
<br />
It will return the "'''mirc.exe'''" filename without the "'''path'''" direction into it.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$mircdir}}<br />
* {{mIRC|$nofile}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$nofile&diff=44535
mirc/identifiers/$nofile
2017-06-12T13:50:42Z
<p>83.204.157.118: /* Example */</p>
<hr />
<div><br />
<br />
{{mirc title|$nofile Identifier}}'''$nofile''' returns the path in filename without the actual filename.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$nofile(path)</source><br />
<br />
== Paramters ==<br />
<br />
'''Path''' = the filename you want the path of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $nofile($mircexe)</source><br />
<br />
will return the directory of the current mIRC running.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$mircdir}}<br />
* {{mIRC|$nopath}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$nofile&diff=44534
mirc/identifiers/$nofile
2017-06-12T13:50:00Z
<p>83.204.157.118: /* Paramters */</p>
<hr />
<div><br />
<br />
{{mirc title|$nofile Identifier}}'''$nofile''' returns the path in filename without the actual filename.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$nofile(path)</source><br />
<br />
== Paramters ==<br />
<br />
'''Path''' = the filename you want the path of<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $nofile($mircexe)</source><br />
<br />
It will return the "'''path'''" without the "'''mirc.exe'''" file into it.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$mircdir}}<br />
* {{mIRC|$nopath}}</div>
83.204.157.118
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$nofile&diff=44519
mirc/identifiers/$nofile
2017-06-12T12:50:33Z
<p>83.204.157.118: </p>
<hr />
<div><br />
<br />
{{mirc title|$nofile Identifier}}'''$nofile''' returns the path in filename without the actual filename.<br />
<br />
== Synopsis ==<br />
<source lang="mIRC"><br />
$nofile(path)</source><br />
<br />
== Paramters ==<br />
<br />
'''Path''' = ''Will be the full direction (dir) path including the filename.''<br />
<br />
== Properties ==<br />
<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC">//echo -a $nofile($mircexe)</source><br />
<br />
It will return the "'''path'''" without the "'''mirc.exe'''" file into it.<br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|4.7}}<br />
<br />
== See Also ==<br />
[[Category:MIRC identifiers]]<br />
* {{mIRC|$mircdir}}<br />
* {{mIRC|$nopath}}</div>
83.204.157.118