From WikiChip
Difference between revisions of "mirc/identifiers"
< mirc

(added $port to list)
m (List of identifiers (alphabetized): Fix $darkmode typo.)
 
(22 intermediate revisions by 3 users not shown)
Line 23: Line 23:
 
* {{mIRC|$$}}
 
* {{mIRC|$$}}
 
* {{mIRC|$}}
 
* {{mIRC|$}}
* {{mIRC|$~}}
+
* ''{{mIRC|$~}}''
 
* {{mIRC|$1-|$0}}
 
* {{mIRC|$1-|$0}}
 
* {{mIRC|$1-}}
 
* {{mIRC|$1-}}
Line 74: Line 74:
 
* ''{{mIRC|$beta}}''
 
* ''{{mIRC|$beta}}''
 
* {{mIRC|$bfind}}()
 
* {{mIRC|$bfind}}()
 +
* {{mIRC|$bigfloat}}()
 
* {{mIRC|$bindip}}()
 
* {{mIRC|$bindip}}()
 
* {{mIRC|$bitoff}}()
 
* {{mIRC|$bitoff}}()
Line 88: Line 89:
 
* {{mIRC|$cb}}
 
* {{mIRC|$cb}}
 
* {{mIRC|$cb}}()
 
* {{mIRC|$cb}}()
 +
* {{mIRC|$cbrt}}()
 
* {{mIRC|$cd}}<sup>E</sup>
 
* {{mIRC|$cd}}<sup>E</sup>
 
* {{mIRC|$ceil}}()
 
* {{mIRC|$ceil}}()
Line 103: Line 105:
 
* {{mIRC|$cmdline}}
 
* {{mIRC|$cmdline}}
 
* {{mIRC|$cnick}}()
 
* {{mIRC|$cnick}}()
 +
* {{mIRC|$codepage}}()
 
* {{mIRC|$color}}()
 
* {{mIRC|$color}}()
 
* ''{{mIRC|$colour}}()''
 
* ''{{mIRC|$colour}}()''
Line 119: Line 122:
 
* {{mIRC|$cr}}
 
* {{mIRC|$cr}}
 
* {{mIRC|$crc}}()
 
* {{mIRC|$crc}}()
 +
* {{mIRC|$crc64}}()
 
* {{mIRC|$creq}}
 
* {{mIRC|$creq}}
 
* {{mIRC|$crlf}}
 
* {{mIRC|$crlf}}
Line 127: Line 131:
  
 
'''D'''
 
'''D'''
 +
* {{mIRC|$darkmode}}
 
* {{mIRC|$date}}()
 
* {{mIRC|$date}}()
 
* {{mIRC|$day}}
 
* {{mIRC|$day}}
Line 155: Line 160:
 
* {{mIRC|$dname}}<sup>E</sup>
 
* {{mIRC|$dname}}<sup>E</sup>
 
* {{mIRC|$dns}}()
 
* {{mIRC|$dns}}()
 +
* {{mIRC|$donotdisturb}}
 
* {{mirc|$dqwindow}}
 
* {{mirc|$dqwindow}}
 
* {{mIRC|$duration}}()
 
* {{mIRC|$duration}}()
Line 175: Line 181:
  
 
'''F'''
 
'''F'''
 +
* {{mIRC|$factorial}}()
 
* {{mIRC|$false}}
 
* {{mIRC|$false}}
 
* {{mIRC|$feof}}
 
* {{mIRC|$feof}}
 
* {{mIRC|$ferr}}
 
* {{mIRC|$ferr}}
 
* {{mIRC|$fgetc}}()
 
* {{mIRC|$fgetc}}()
 +
* {{mIRC|$fibonacci}}()
 
* ''{{mIRC|$file}}''
 
* ''{{mIRC|$file}}''
 
* {{mIRC|$file}}()
 
* {{mIRC|$file}}()
Line 195: Line 203:
 
* {{mIRC|$fopen}}()
 
* {{mIRC|$fopen}}()
 
* {{mIRC|$fread}}()
 
* {{mIRC|$fread}}()
 +
* {{mIRC|$freadex}}()
 
* {{mIRC|$fromeditbox}}
 
* {{mIRC|$fromeditbox}}
 
* ''{{mIRC|$fserv}}()''
 
* ''{{mIRC|$fserv}}()''
Line 202: Line 211:
 
* {{mIRC|$fullname}}
 
* {{mIRC|$fullname}}
 
* {{mIRC|$fullscreen}}
 
* {{mIRC|$fullscreen}}
 +
* {{mIRC|$fupdate}}
  
 
'''G'''
 
'''G'''
 +
* {{mIRC|$gcd}}()
 
* {{mIRC|$get}}()
 
* {{mIRC|$get}}()
 
* {{mIRC|$getdir}}()
 
* {{mIRC|$getdir}}()
Line 239: Line 250:
 
* {{mIRC|$ial}}()
 
* {{mIRC|$ial}}()
 
* {{mIRC|$ialchan}}()
 
* {{mIRC|$ialchan}}()
 +
* {{mIRC|$ialmark}}()
 
* {{mIRC|$ibl}}()
 
* {{mIRC|$ibl}}()
 
* {{mIRC|$idle}}
 
* {{mIRC|$idle}}
Line 252: Line 264:
 
* ''{{mIRC|$initopic}}()''
 
* ''{{mIRC|$initopic}}()''
 
* {{mIRC|$inmidi}}
 
* {{mIRC|$inmidi}}
* {{mIRC|$inmidi}}.
 
 
* {{mIRC|$inmode}}
 
* {{mIRC|$inmode}}
 
* ''{{mIRC|$inmp3}}''
 
* ''{{mIRC|$inmp3}}''
* ''{{mIRC|$inmp3}}.''
 
 
* {{mIRC|$inpaste}}<sup>E</sup>
 
* {{mIRC|$inpaste}}<sup>E</sup>
 
* {{mIRC|$inpoly}}()
 
* {{mIRC|$inpoly}}()
Line 262: Line 272:
 
* {{mIRC|$inroundrect}}()
 
* {{mIRC|$inroundrect}}()
 
* {{mIRC|$insong}}
 
* {{mIRC|$insong}}
* {{mIRC|$insong}}.
 
* {{mIRC|$insongpause}}
 
 
* {{mIRC|$instok}}()
 
* {{mIRC|$instok}}()
 
* {{mIRC|$int}}()
 
* {{mIRC|$int}}()
 
* {{mIRC|$intersect}}()
 
* {{mIRC|$intersect}}()
 
* {{mIRC|$inwave}}
 
* {{mIRC|$inwave}}
* {{mIRC|$inwave}}.
 
 
* {{mIRC|$inwho}}
 
* {{mIRC|$inwho}}
 
* {{mIRC|$ip}}
 
* {{mIRC|$ip}}
Line 281: Line 288:
 
* {{mIRC|$isid}}
 
* {{mIRC|$isid}}
 
* {{mIRC|$islower}}()
 
* {{mIRC|$islower}}()
 +
* {{mIRC|$isnumber}}()
 +
* {{mIRC|$isnum}}()
 
* {{mIRC|$istok}}()
 
* {{mIRC|$istok}}()
 
* {{mIRC|$istokcs}}()
 
* {{mIRC|$istokcs}}()
Line 288: Line 297:
 
'''K'''
 
'''K'''
 
* {{mIRC|$keychar}}<sup>E</sup>
 
* {{mIRC|$keychar}}<sup>E</sup>
 +
* {{mIRC|$keylparam}}
 
* {{mIRC|$keyrpt}}<sup>E</sup>
 
* {{mIRC|$keyrpt}}<sup>E</sup>
 
* {{mIRC|$keyval}}<sup>E</sup>
 
* {{mIRC|$keyval}}<sup>E</sup>
Line 296: Line 306:
 
* {{mIRC|$lactivecid}}
 
* {{mIRC|$lactivecid}}
 
* {{mIRC|$lactivewid}}
 
* {{mIRC|$lactivewid}}
 +
* {{mIRC|$lcm}}()
 
* {{mIRC|$left}}()
 
* {{mIRC|$left}}()
 
* {{mIRC|$leftwin}}
 
* {{mIRC|$leftwin}}
Line 310: Line 321:
 
* ''{{mIRC|$lof}}''
 
* ''{{mIRC|$lof}}''
 
* {{mIRC|$log}}()
 
* {{mIRC|$log}}()
 +
* {{mIRC|$log2}}()
 
* {{mIRC|$log10}}()
 
* {{mIRC|$log10}}()
 
* {{mIRC|$logdir}}
 
* {{mIRC|$logdir}}
Line 326: Line 338:
 
* {{mIRC|$matchtok}}()
 
* {{mIRC|$matchtok}}()
 
* {{mIRC|$matchtokcs}}()
 
* {{mIRC|$matchtokcs}}()
 +
* {{mIRC|$max}}
 
* {{mIRC|$maxlenl}}
 
* {{mIRC|$maxlenl}}
 
* {{mIRC|$maxlenm}}
 
* {{mIRC|$maxlenm}}
Line 337: Line 350:
 
* {{mIRC|$mid}}()
 
* {{mIRC|$mid}}()
 
* {{mIRC|$mididir}}
 
* {{mIRC|$mididir}}
 +
* {{mIRC|$min}}
 
* {{mIRC|$mircdir}}
 
* {{mIRC|$mircdir}}
 
* {{mIRC|$mircexe}}
 
* {{mIRC|$mircexe}}
 
* {{mIRC|$mircini}}
 
* {{mIRC|$mircini}}
 +
* {{mIRC|$mircpid}}
 
* {{mIRC|$mkfn}}()
 
* {{mIRC|$mkfn}}()
 
* {{mIRC|$mklogfn}}()
 
* {{mIRC|$mklogfn}}()
Line 348: Line 363:
 
* {{mIRC|$modelast}}<sup>E</sup>
 
* {{mIRC|$modelast}}<sup>E</sup>
 
* {{mIRC|$modespl}}
 
* {{mIRC|$modespl}}
* {{mIRC|$mouse}}.
+
* {{mIRC|$modinv}}()
* {{mIRC|$mousecx}}
+
* {{mIRC|$mouse}}
* {{mIRC|$mousecy}}
 
* {{mIRC|$mousedx}}
 
* {{mIRC|$mousedy}}
 
* {{mIRC|$mousekey}}
 
* {{mIRC|$mouselb}}
 
* {{mIRC|$mousex}}
 
* {{mIRC|$mousey}}
 
* {{mIRC|$mousewin}}
 
 
* ''{{mIRC|$mp3}}()''
 
* ''{{mIRC|$mp3}}()''
 
* ''{{mIRC|$mp3dir}}''
 
* ''{{mIRC|$mp3dir}}''
Line 366: Line 373:
  
 
'''N'''
 
'''N'''
* {{mIRC|$N}}
 
 
* ''{{mIRC|$naddress}}<sup>E</sup>''
 
* ''{{mIRC|$naddress}}<sup>E</sup>''
 
* {{mIRC|$network}}
 
* {{mIRC|$network}}
Line 372: Line 378:
 
* ''{{mIRC|$nhnick}}()''
 
* ''{{mIRC|$nhnick}}()''
 
* {{mIRC|{{=}}$nick identifier|{{=}}$nick}}
 
* {{mIRC|{{=}}$nick identifier|{{=}}$nick}}
{{mIRC|$nick}}<sup>E</sup>
+
* {{mIRC|$nick}}<sup>E</sup>
 
* {{mIRC|$nick}}()
 
* {{mIRC|$nick}}()
 
* {{mIRC|$nickmode}}
 
* {{mIRC|$nickmode}}
 
* {{mIRC|$no}}
 
* {{mIRC|$no}}
 
* {{mIRC|$nofile}}()
 
* {{mIRC|$nofile}}()
 +
* {{mIRC|$nonstdmsg}}
 
* {{mIRC|$nopath}}
 
* {{mIRC|$nopath}}
 
* ''{{mIRC|$nopnick}}()''
 
* ''{{mIRC|$nopnick}}()''
Line 385: Line 392:
 
* {{mIRC|$notify}}()
 
* {{mIRC|$notify}}()
 
* {{mIRC|$null}}
 
* {{mIRC|$null}}
 +
* {{mIRC|$numbits}}()
 
* {{mIRC|$numeric}}
 
* {{mIRC|$numeric}}
 
* {{mIRC|$numtok}}()
 
* {{mIRC|$numtok}}()
Line 404: Line 412:
 
* {{mIRC|$parmN}}
 
* {{mIRC|$parmN}}
 
* {{mIRC|$parms}}
 
* {{mIRC|$parms}}
 +
* {{mIRC|$parseem}}
 
* {{mIRC|$parseline}}<sup>E</sup>
 
* {{mIRC|$parseline}}<sup>E</sup>
 
* {{mIRC|$parsetype}}<sup>E</sup>
 
* {{mIRC|$parsetype}}<sup>E</sup>
Line 417: Line 426:
 
* {{mIRC|$pos}}()
 
* {{mIRC|$pos}}()
 
* {{mIRC|$poscs}}()
 
* {{mIRC|$poscs}}()
 +
* {{mIRC|$powmod}}()
 
* {{mIRC|$prefix}}
 
* {{mIRC|$prefix}}
 
* {{mIRC|$prop}}
 
* {{mIRC|$prop}}
Line 464: Line 474:
 
* {{mIRC|$scid}}()
 
* {{mIRC|$scid}}()
 
* {{mIRC|$scon}}()
 
* {{mIRC|$scon}}()
 +
* {{mIRC|$script}}<sup>E</sup>
 
* {{mIRC|$script}}()
 
* {{mIRC|$script}}()
 
* {{mIRC|$scriptdir}}
 
* {{mIRC|$scriptdir}}
Line 502: Line 513:
 
* {{mirc|$sslcertvalid}}
 
* {{mirc|$sslcertvalid}}
 
* {{mIRC|$ssldll}}
 
* {{mIRC|$ssldll}}
 +
* {{mIRC|$sslhash}}()
 
* {{mIRC|$ssllibdll}}
 
* {{mIRC|$ssllibdll}}
 
* {{mIRC|$sslready}}
 
* {{mIRC|$sslready}}
Line 520: Line 532:
 
* {{mIRC|$target}}<sup>E</sup>
 
* {{mIRC|$target}}<sup>E</sup>
 
* {{mirc|$tempfn}}
 
* {{mirc|$tempfn}}
 +
* {{mirc|$tempfn}}()
 
* {{mIRC|$ticks}}
 
* {{mIRC|$ticks}}
 +
* {{mIRC|$ticksqpc}}
 
* {{mIRC|$time}}
 
* {{mIRC|$time}}
 
* {{mIRC|$timeout}}
 
* {{mIRC|$timeout}}

Latest revision as of 23:20, 14 February 2025

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.

=$nick, $*, $&, $+ and $++ are exception and are not returning values, they are constructs interpreted in a different way.

Presently undocumented or deprecated identifiers are indicated in italics. An identifier is undocumented if it doesn't reasonably appear in the current help.chm, but may appear in the versions.txt

List of identifiers (alphabetized)[edit]

$

A

B

C

D

E

F

G

H

I

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Deprecated identifiers[edit]

30 identifiers have been deprecated in favor of new ones.

Removed identifiers[edit]

Three identifiers have been completely removed from mIRC.

v · d · e mIRC identifier list

$ $$, $, $0, $1-, $!, $&, $*, $+, $++, $?

A $abook, $abs, $acos, $active, $activecid, $activewid, $adate, $address, $addtok, $addtokcs, $agent, $agentname, $agentstat, $agentver, $alias, $and, $anick, $ansi2mirc, $aop, $appactive, $appstate, $asc, $asctime, $asin, $atan, $atan2, $auto, $avoice, $away, $awaymsg, $awaytime

B $banlist, $banmask, $base, $beta, $bfind, $bindip, $bitoff, $biton, $bits, $bnick, $bvar, $bytes

C $calc, $caller, $cancel, $cb, $cd, $ceil, $chan, $chanmodes, $channel, $chantypes, $chat, $chr, $cid, $clevel, $click, $cmdbox, $cmdline, $cnick, $color, $colour, $com, $comcall, $comchan, $comchar, $comerr, $compact, $compress, $comval, $cos, $cosh, $count, $countcs, $cr, $crc, $creq, $crlf, $ctime, $ctimer, $ctrlenter

D $darkmode, $date, $day, $daylight, $dbuh, $dbuw, $dccignore, $dccport, $dde, $ddename, $debug, $decode, $decompress, $deltok, $devent, $dialog, $did, $didreg, $didtok, $didwm, $dir, $disk, $dlevel, $dll, $dllcall, $dname, $dns, $donotdisturb, $dqwindow, $duration

E $ebeeps, $editbox, $email, $emailaddr, $encode, $envvar, $error, $eval, $evalnext, $event, $eventid, $eventparms, $exists, $exiting

F $false, $feof, $ferr, $fgetc, $file, $filename, $filtered, $find, $finddir, $finddirn, $findfile, $findfilen, $findtok, $findtokcs, $fline, $flinen, $floor, $font, $fopen, $fread, $fromeditbox, $fserv, $fserve, $fulladdress, $fulldate, $fullname, $fullscreen

G $get, $getdir, $getdot, $gettok, $gmt, $group

H $halted, $hash, $height, $hfile, $hfind, $hget, $highlight, $hmac $hmatch, $hnick, $host, $hotline, $hotlinepos, $hotlink, $hotp, $hregex, $hypot

I $iaddress, $ial, $ialchan, $ibl, $idle, $iel, $ifmatch, $ifmatch2, $ignore, $iif, $iil, $inellipse, $ini, $initopic, $inmidi, $inmode, $inmp3, $inpaste, $inpoly, $input, $inrect, $inroundrect, $insong, $insongpause, $instok, $int, $intersect, $inwave, $inwho, $ip, $iptype, $iql, $isadmin, $isalias, $isbit, $isdde, $isdir, $isfile, $isid, $islower, $istok, $istokcs, $isupper, $isutf

K $keychar, $keyrpt, $keyval, $knick

L $lactive, $lactivecid, $lactivewid, $left, $leftwin, $leftwincid, $leftwinwid, $len, $level, $lf, $line, $lines, $link, $lock, $locked, $lof, $log, $log10, $logdir, $logstamp, $logstampfmt, $longfn, $longip, $lower, $ltimer

M $maddress, $mask, $matchkey, $matchtok, $matchtokcs, $maxlenl, $maxlenm, $maxlens, $md5, $me, $menu, $menubar, $menucontext, $menutype, $mid, $mididir, $mircdir, $mircexe, $mircini, $mkfn, $mklogfn, $mknickfn, $mnick, $mode, $modefirst, $modelast, $modespl, $mouse, $mousecx, $mousecy, $mousedx, $mousedy, $mousekey, $mouselb, $mousex, $mousey, $mousewin, $mp3, $mp3dir, $msfile, $msgstamp, $msgtags

N $N, $naddress, $network, $newnick, $nhnick, $nick, $nickmode, $no, $nofile, $nopath, $nopnick, $noqt, $not, $notags, $notify, $null, $numeric, $numtok, $nvnick

O $ok, $online, $onlineserver, $onlinetotal $onpoly, $opnick, $or, $ord, $os

P $parmN, $parms, $parseline, $parsetype, $parseutf, $passivedcc, $pi, $pic, $play, $pnick, $portable, $portfree, $pos, $poscs, $prefix, $prop, $protect, $puttok

Q $qt, $query

R $r, $raddress, $rand, $rands, $rawbytes, $rawmsg, $read, $readini, $readn, $regbr, $regerrstr, $regex, $regml, $regmlex, $regsub, $regsubex, $remote, $remove, $removecs, $remtok, $remtokcs, $replace, $replacecs, $replacex, $replacexcs, $reptok, $reptokcs, $result, $rgb, $right, $rnick, $round

S $samepath, $scid, $scon, $script, $scriptdir, $scriptline, $sdir, $send, $server, $serverip, $servertarget, $sfile, $sha1, $sha256, $sha384, $sha512, $shortfn, $show, $signal, $sin, $sinh, $site, $sline, $snick, $snicks, $snotify, $sock, $sockbr, $sockerr, $sockname, $sorttok, $sorttokcs, $sound, $speak, $sqrt, $sreq, $ssl, $sslcertsha1, $sslcertsha256, $sslcertvalid, $ssldll, $ssllibdll, $sslready, $sslversion, $starting, $status, $str, $strip, $stripped, $style, $submenu, $switchbar, $sysdir

T $tan, $tanh, $target, $tempfn, $ticks, $time, $timeout, $timer, $timestamp, $timestampfmt, $timezone, $tip, $tips, $titlebar, $token, $toolbar, $topic, $totp, $treebar, $true, $trust

U $ulevel, $ulist, $unsafe, $upper, $uptime, $url, $usermode, $utfdecode, $utfencode

V $v1, $v2, $var, $vc, $vcmd, $vcmdstat, $vcmdver, $version, $vnick, $vol

W $wavedir, $wid, $width, $wildsite, $wildtok, $wildtokcs, $window, $wrap

X $xor

Y $yes

Z $zip

= =$nick