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

(add $~)
(added $port to list)
(2 intermediate revisions by the same user not shown)
Line 385: Line 385:
 
* {{mIRC|$notify}}()
 
* {{mIRC|$notify}}()
 
* {{mIRC|$null}}
 
* {{mIRC|$null}}
* {{mIRC|$numeric}}()
+
* {{mIRC|$numeric}}
 
* {{mIRC|$numtok}}()
 
* {{mIRC|$numtok}}()
 
* ''{{mIRC|$nvnick}}()''
 
* ''{{mIRC|$nvnick}}()''
Line 409: Line 409:
 
* {{mIRC|$passivedcc}}
 
* {{mIRC|$passivedcc}}
 
* {{mIRC|$pi}}
 
* {{mIRC|$pi}}
* {{mIRC|$pic}}
+
* {{mIRC|$pic}}()
* {{mIRC|$play}}
+
* {{mIRC|$play}}()
 
* {{mIRC|$pnick}}
 
* {{mIRC|$pnick}}
 +
* {{mIRC|$port}}
 
* {{mIRC|$portable}}
 
* {{mIRC|$portable}}
* {{mIRC|$portfree}}
+
* {{mIRC|$portfree}}()
* {{mIRC|$pos}}
+
* {{mIRC|$pos}}()
* {{mIRC|$poscs}}
+
* {{mIRC|$poscs}}()
 
* {{mIRC|$prefix}}
 
* {{mIRC|$prefix}}
 
* {{mIRC|$prop}}
 
* {{mIRC|$prop}}
 
* {{mIRC|$protect}}
 
* {{mIRC|$protect}}
* {{mIRC|$puttok}}
+
* {{mIRC|$puttok}}()
  
 
'''Q'''
 
'''Q'''
* {{mIRC|$qt}}
+
* {{mIRC|$qt}}()
* {{mIRC|$query}}
+
* {{mIRC|$query}}()
  
 
'''R'''
 
'''R'''
* ''{{mIRC|$r}}''
+
* ''{{mIRC|$r}}''()
 
* ''{{mIRC|$raddress}}''<sup>E</sup>
 
* ''{{mIRC|$raddress}}''<sup>E</sup>
* {{mIRC|$rand}}
+
* {{mIRC|$rand}}()
* {{mIRC|$rands}}
+
* {{mIRC|$rands}}()
 
* {{mIRC|$rawbytes}}<sup>E</sup>
 
* {{mIRC|$rawbytes}}<sup>E</sup>
 
* {{mIRC|$rawmsg}}<sup>E</sup>
 
* {{mIRC|$rawmsg}}<sup>E</sup>
* {{mIRC|$read}}
+
* {{mIRC|$read}}()
* {{mIRC|$readini}}
+
* {{mIRC|$readini}}()
 
* {{mIRC|$readn}}
 
* {{mIRC|$readn}}
 
* ''{{mIRC|$regbr}}''
 
* ''{{mIRC|$regbr}}''
 
* {{mIRC|$regerrstr}}
 
* {{mIRC|$regerrstr}}
* {{mIRC|$regex}}
+
* {{mIRC|$regex}}()
* {{mIRC|$regml}}
+
* {{mIRC|$regml}}()
* {{mirc|$regmlex}}
+
* {{mirc|$regmlex}}()
* {{mIRC|$regsub}}
+
* {{mIRC|$regsub}}()
* {{mIRC|$regsubex}}
+
* {{mIRC|$regsubex}}()
 
* {{mIRC|$remote}}
 
* {{mIRC|$remote}}
* {{mIRC|$remove}}
+
* {{mIRC|$remove}}()
* {{mIRC|$removecs}}
+
* {{mIRC|$removecs}}()
* {{mIRC|$remtok}}
+
* {{mIRC|$remtok}}()
* {{mIRC|$remtokcs}}
+
* {{mIRC|$remtokcs}}()
* {{mIRC|$replace}}
+
* {{mIRC|$replace}}()
* {{mIRC|$replacecs}}
+
* {{mIRC|$replacecs}}()
* {{mIRC|$replacex}}
+
* {{mIRC|$replacex}}()
* {{mIRC|$replacexcs}}
+
* {{mIRC|$replacexcs}}()
* {{mIRC|$reptok}}
+
* {{mIRC|$reptok}}()
* {{mIRC|$reptokcs}}
+
* {{mIRC|$reptokcs}}()
 
* {{mIRC|$result}}
 
* {{mIRC|$result}}
* {{mIRC|$rgb}}
+
* {{mIRC|$rgb}}()
* {{mIRC|$right}}
+
* {{mIRC|$right}}()
* {{mIRC|$rnick}}
+
* {{mIRC|$rnick}}()
* {{mIRC|$round}}
+
* {{mIRC|$round}}()
  
 
'''S'''
 
'''S'''
* {{mirc|$samepath}}
+
* {{mirc|$samepath}}()
* {{mIRC|$scid}}
+
* {{mIRC|$scid}}()
* {{mIRC|$scon}}
+
* {{mIRC|$scon}}()
* {{mIRC|$script}}
+
* {{mIRC|$script}}()
 
* {{mIRC|$scriptdir}}
 
* {{mIRC|$scriptdir}}
 
* {{mIRC|$scriptline}}
 
* {{mIRC|$scriptline}}
* {{mIRC|$sdir}}
+
* {{mIRC|$sdir}}()
* {{mIRC|$send}}
+
* {{mIRC|$send}}()
* {{mIRC|$server}}
+
* {{mIRC|$server}}()
 
* {{mIRC|$serverip}}
 
* {{mIRC|$serverip}}
 
* {{mIRC|$servertarget}}
 
* {{mIRC|$servertarget}}
* {{mIRC|$sfile}}
+
* {{mIRC|$sfile}}()
* {{mIRC|$sha1}}
+
* {{mIRC|$sha1}}()
* {{mIRC|$sha256}}
+
* {{mIRC|$sha256}}()
* {{mIRC|$sha384}}
+
* {{mIRC|$sha384}}()
* {{mIRC|$sha512}}
+
* {{mIRC|$sha512}}()
* {{mIRC|$shortfn}}
+
* {{mIRC|$shortfn}}()
 
* {{mIRC|$show}}
 
* {{mIRC|$show}}
 
* {{mIRC|$signal}}<sup>E</sup>
 
* {{mIRC|$signal}}<sup>E</sup>
* {{mIRC|$sin}}
+
* {{mIRC|$sin}}()
* {{mIRC|$sinh}}
+
* {{mIRC|$sinh}}()
 
* {{mIRC|$site}}<sup>E</sup>
 
* {{mIRC|$site}}<sup>E</sup>
* {{mIRC|$sline}}
+
* {{mIRC|$sline}}()
* {{mIRC|$snick}}
+
* {{mIRC|$snick}}()
 
* {{mIRC|$snicks}}
 
* {{mIRC|$snicks}}
 
* {{mIRC|$snotify}}
 
* {{mIRC|$snotify}}
* {{mIRC|$sock}}
+
* {{mIRC|$sock}}()
 
* {{mIRC|$sockbr}}<sup>E</sup>
 
* {{mIRC|$sockbr}}<sup>E</sup>
 
* {{mIRC|$sockerr}}<sup>E</sup>
 
* {{mIRC|$sockerr}}<sup>E</sup>
 
* {{mIRC|$sockname}}<sup>E</sup>
 
* {{mIRC|$sockname}}<sup>E</sup>
* {{mIRC|$sorttok}}
+
* {{mIRC|$sorttok}}()
* {{mIRC|$sorttokcs}}
+
* {{mIRC|$sorttokcs}}()
* {{mIRC|$sound}}
+
* {{mIRC|$sound}}()
* {{mIRC|$speak}}
+
* {{mIRC|$speak}}()
 
* {{mIRC|$sqrt}}
 
* {{mIRC|$sqrt}}
* {{mIRC|$sreq}}
+
* {{mIRC|$sreq}}()
 
* {{mIRC|$ssl}}
 
* {{mIRC|$ssl}}
 
* {{mirc|$sslcertsha1}}
 
* {{mirc|$sslcertsha1}}
Line 506: Line 507:
 
* {{mIRC|$starting}}
 
* {{mIRC|$starting}}
 
* {{mIRC|$status}}
 
* {{mIRC|$status}}
* {{mIRC|$str}}
+
* {{mIRC|$str}}()
* {{mIRC|$strip}}
+
* {{mIRC|$strip}}()
 
* {{mIRC|$stripped}}
 
* {{mIRC|$stripped}}
* {{mIRC|$style}}
+
* {{mIRC|$style}}()
* {{mIRC|$submenu}}
+
* {{mIRC|$submenu}}()
 
* {{mIRC|$switchbar}}
 
* {{mIRC|$switchbar}}
* {{mIRC|$sysdir}}
+
* {{mIRC|$sysdir}}()
  
 
'''T'''
 
'''T'''
* {{mIRC|$tan}}
+
* {{mIRC|$tan}}()
* {{mIRC|$tanh}}
+
* {{mIRC|$tanh}}()
 
* {{mIRC|$target}}<sup>E</sup>
 
* {{mIRC|$target}}<sup>E</sup>
 
* {{mirc|$tempfn}}
 
* {{mirc|$tempfn}}
Line 522: Line 523:
 
* {{mIRC|$time}}
 
* {{mIRC|$time}}
 
* {{mIRC|$timeout}}
 
* {{mIRC|$timeout}}
* {{mIRC|$timer}}
+
* {{mIRC|$timer}}()
 
* {{mIRC|$timestamp}}
 
* {{mIRC|$timestamp}}
 
* {{mIRC|$timestampfmt}}
 
* {{mIRC|$timestampfmt}}
 
* {{mIRC|$timezone}}
 
* {{mIRC|$timezone}}
* {{mIRC|$tip}}
+
* {{mIRC|$tip}}()
 
* {{mIRC|$tips}}
 
* {{mIRC|$tips}}
 
* {{mIRC|$titlebar}}
 
* {{mIRC|$titlebar}}
 
* ''{{mIRC|$token}}''
 
* ''{{mIRC|$token}}''
* {{mIRC|$toolbar}}
+
* {{mIRC|$toolbar}}()
 
* ''{{mIRC|$topic}}''
 
* ''{{mIRC|$topic}}''
* {{mIRC|$totp}}
+
* {{mIRC|$totp}}()
 
* {{mIRC|$treebar}}
 
* {{mIRC|$treebar}}
 
* {{mIRC|$true}}
 
* {{mIRC|$true}}
* {{mIRC|$trust}}
+
* {{mIRC|$trust}}()
  
 
'''U'''
 
'''U'''
 
* {{mIRC|$ulevel}}<sup>E</sup>
 
* {{mIRC|$ulevel}}<sup>E</sup>
* {{mIRC|$ulist}}
+
* {{mIRC|$ulist}}()
* {{mirc|$unsafe}}
+
* {{mirc|$unsafe}}()
* {{mIRC|$upper}}
+
* {{mIRC|$upper}}()
* {{mIRC|$uptime}}
+
* {{mIRC|$uptime}}()
* {{mIRC|$url}}
+
* {{mIRC|$url}}()
* {{mIRC|$urlget}}
+
* {{mIRC|$urlget}}()
 
* {{mIRC|$usermode}}
 
* {{mIRC|$usermode}}
* {{mIRC|$utfdecode}}
+
* {{mIRC|$utfdecode}}()
* {{mIRC|$utfencode}}
+
* {{mIRC|$utfencode}}()
  
 
'''V'''
 
'''V'''
 
* {{mIRC|$v1}}
 
* {{mIRC|$v1}}
 
* {{mIRC|$v2}}
 
* {{mIRC|$v2}}
* {{mIRC|$var}}
+
* {{mIRC|$var}}()
* {{mIRC|$vc}}
+
* {{mIRC|$vc}}()
* {{mIRC|$vcmd}}
+
* {{mIRC|$vcmd}}()
 
* {{mIRC|$vcmdstat}}
 
* {{mIRC|$vcmdstat}}
 
* {{mIRC|$vcmdver}}
 
* {{mIRC|$vcmdver}}
 
* {{mIRC|$version}}
 
* {{mIRC|$version}}
 
* {{mIRC|$vnick}}<sup>E</sup>
 
* {{mIRC|$vnick}}<sup>E</sup>
* {{mIRC|$vol}}
+
* {{mIRC|$vol}}()
  
 
'''W'''
 
'''W'''
 
* ''{{mIRC|$wavedir}}''
 
* ''{{mIRC|$wavedir}}''
 
* {{mIRC|$wid}}
 
* {{mIRC|$wid}}
* {{mIRC|$width}}
+
* {{mIRC|$width}}()
 
* {{mIRC|$wildsite}}<sup>E</sup>
 
* {{mIRC|$wildsite}}<sup>E</sup>
* {{mIRC|$wildtok}}
+
* {{mIRC|$wildtok}}()
* {{mIRC|$wildtokcs}}
+
* {{mIRC|$wildtokcs}}()
 
* {{mIRC|$window}}()
 
* {{mIRC|$window}}()
 
* {{mIRC|$window}}<sup>E</sup>
 
* {{mIRC|$window}}<sup>E</sup>
* {{mIRC|$wrap}}
+
* {{mIRC|$wrap}}()
  
 
'''X'''
 
'''X'''
* {{mIRC|$xor}}
+
* {{mIRC|$xor}}()
  
 
'''Y'''
 
'''Y'''
Line 579: Line 580:
  
 
'''Z'''
 
'''Z'''
* {{mIRC|$zip}}
+
* {{mIRC|$zip}}()
 
}}
 
}}
  

Revision as of 16:43, 6 February 2020

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)

$

A

B

C

D

E

F

G

H

I

K

L

M

N

$nickE

O

P

Q

R

S

T

U

V

W

X

Y

Z

Deprecated identifiers

30 identifiers have been deprecated in favor of new ones.

Removed identifiers

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 $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