From WikiChip
Difference between revisions of "mirc/identifiers"
(Added () to indicate identifier takes parameters - kap) |
|||
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|$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 506: | ||
* {{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 522: | ||
* {{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 579: | ||
'''Z''' | '''Z''' | ||
− | * {{mIRC|$zip}} | + | * {{mIRC|$zip}}() |
}} | }} | ||
Revision as of 10:11, 6 February 2020
Commands & Identifiers
- mSL Commands
- mSL Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
- mSL Commands
- mSL Identifiers
- mSL Local Identifiers
- mSL Events
- mSL Event Prefixes
Security
Other
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
- $abook()
- $abs()
- $acos()
- $active
- $activecid
- $activewid
- $adate
- $addressE
- $address()
- $addtok()
- $addtokcs()
- $agent()
- $agentnameE
- $agentstat
- $agentver
- $alias()
- $and()
- $anick
- $ansi2mirc()
- $aop()
- $appactive
- $appstate
- $asc()
- $asctime
- $asctime()
- $asin()
- $atan()
- $atan2()
- $auto()
- $avoice()
- $away
- $awaymsg
- $awaytime
B
- $banlist()
- $banmaskE
- $base()
- $beta
- $bfind()
- $bindip()
- $bitoff()
- $biton()
- $bits
- $bnickE
- $bvar()
- $bytes()
C
- $calc()
- $caller
- $cancel
- $cb
- $cb()
- $cdE
- $ceil()
- $chan
- $chan()
- $chanmodes
- $channel()
- $chantypes
- $chat()
- $chr()
- $cid
- $clevelE
- $click()
- $cmdbox
- $cmdline
- $cnick()
- $color()
- $colour()
- $com()
- $comcall()
- $comchan()
- $comchar
- $comerr
- $compact
- $compress()
- $comval()
- $cos()
- $cosh()
- $count()
- $countcs()
- $cr
- $crc()
- $creq
- $crlf
- $ctime
- $ctime()
- $ctimer
- $ctrlenterE
D
- $date()
- $day
- $daylight
- $dbuh
- $dbuw
- $dccignore
- $dccignore()
- $dccport
- $dde()
- $ddename
- $debug
- $decode()
- $decompress()
- $deltok()
- $deventE
- $dialog()
- $didE
- $did()
- $didreg()
- $didtok()
- $didwm()
- $dir
- $disk()
- $dlevel
- $dll()
- $dllcall()
- $dnameE
- $dns()
- $dqwindow
- $duration()
E
- $ebeeps
- $editbox()
- $emailaddr
- $encode()
- $envvar()
- $error
- $eval()
- $evalnext()
- $eventE
- $eventidE
- $eventparmsE
- $exists()
- $exiting
F
- $false
- $feof
- $ferr
- $fgetc()
- $file
- $file()
- $filenameE
- $filtered
- $finddir()
- $finddirn
- $findfile()
- $findfilen
- $findtok()
- $findtokcs()
- $fline()
- $flinen
- $floor()
- $font()
- $fopen()
- $fread()
- $fromeditbox
- $fserv()
- $fserve()
- $fulladdressE
- $fulldate
- $fullname
- $fullscreen
G
H
- $haltedE
- $hash()
- $height()
- $hfile=
- $hfile()
- $hfind()
- $hget()
- $highlight
- $highlight()
- $hmac()
- $hmatch()
- $hnickE
- $hnick()
- $host
- $hotlineE
- $hotlineposE
- $hotlink()E
- $hotp()
- $hregex()
- $hypot()
I
- $iaddressE
- $ial
- $ial()
- $ialchan()
- $ibl()
- $idle
- $iel()
- $ifmatch
- $ifmatch2
- $ignore
- $ignore()
- $iif()
- $iil()
- $inellipse()
- $ini()
- $initopic()
- $inmidi
- $inmidi.
- $inmode
- $inmp3
- $inmp3.
- $inpasteE
- $inpoly()
- $input()
- $inrect()
- $inroundrect()
- $insong
- $insong.
- $insongpause
- $instok()
- $int()
- $intersect()
- $inwave
- $inwave.
- $inwho
- $ip
- $iptype()
- $iql()
- $isadmin
- $isalias()
- $isbit()
- $isdde()
- $isdir()
- $isfile()
- $isid
- $islower()
- $istok()
- $istokcs()
- $isupper()
- $isutf()
K
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
- $maddressE
- $maddress()
- $mask()
- $matchkeyE
- $matchtok()
- $matchtokcs()
- $maxlenl
- $maxlenm
- $maxlens
- $md5()
- $me
- $menuE
- $menubar
- $menucontextE
- $menutypeE
- $mid()
- $mididir
- $mircdir
- $mircexe
- $mircini
- $mkfn()
- $mklogfn()
- $mknickfn()
- $mnick
- $mode()
- $modefirstE
- $modelastE
- $modespl
- $mouse.
- $mousecx
- $mousecy
- $mousedx
- $mousedy
- $mousekey
- $mouselb
- $mousex
- $mousey
- $mousewin
- $mp3()
- $mp3dir
- $msfile()
- $msgstampE
- $msgtagsE
- $msgtags()E
N
- $nick()
- $nickmode
- $no
- $nofile()
- $nopath
- $nopnick()
- $noqt()
- $not()
- $notags()
- $notify
- $notify()
- $null
- $numeric
- $numtok()
- $nvnick()
O
- $ok
- $online
- $onlineserver
- $onlinetotal
- $onpoly()
- $opnickE
- $opnick()
- $or()
- $ord()
- $os
P
- $parmN
- $parms
- $parselineE
- $parsetypeE
- $parseutfE
- $passivedcc
- $pi
- $pic()
- $play()
- $pnick
- $portable
- $portfree()
- $pos()
- $poscs()
- $prefix
- $prop
- $protect
- $puttok()
Q
R
- $r()
- $raddressE
- $rand()
- $rands()
- $rawbytesE
- $rawmsgE
- $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
- $signalE
- $sin()
- $sinh()
- $siteE
- $sline()
- $snick()
- $snicks
- $snotify
- $sock()
- $sockbrE
- $sockerrE
- $socknameE
- $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()
- $targetE
- $tempfn
- $ticks
- $time
- $timeout
- $timer()
- $timestamp
- $timestampfmt
- $timezone
- $tip()
- $tips
- $titlebar
- $token
- $toolbar()
- $topic
- $totp()
- $treebar
- $true
- $trust()
U
- $ulevelE
- $ulist()
- $unsafe()
- $upper()
- $uptime()
- $url()
- $urlget()
- $usermode
- $utfdecode()
- $utfencode()
V
W
X
- $xor()
Y
Z
- $zip()
Deprecated identifiers
30 identifiers have been deprecated in favor of new ones.
Removed identifiers
Three identifiers have been completely removed from mIRC.
mIRC identifier list