From WikiChip
Difference between revisions of "mirc/identifiers"
Maroonbells (talk | contribs) |
|||
(7 intermediate revisions by one other user not shown) | |||
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 178: | Line 180: | ||
'''F''' | '''F''' | ||
− | * {{mIRC|$factorial}} | + | * {{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 210: | Line 213: | ||
'''G''' | '''G''' | ||
+ | * {{mIRC|$gcd}}() | ||
* {{mIRC|$get}}() | * {{mIRC|$get}}() | ||
* {{mIRC|$getdir}}() | * {{mIRC|$getdir}}() | ||
Line 245: | Line 249: | ||
* {{mIRC|$ial}}() | * {{mIRC|$ial}}() | ||
* {{mIRC|$ialchan}}() | * {{mIRC|$ialchan}}() | ||
+ | * {{mIRC|$ialmark}}() | ||
* {{mIRC|$ibl}}() | * {{mIRC|$ibl}}() | ||
* {{mIRC|$idle}} | * {{mIRC|$idle}} | ||
Line 300: | Line 305: | ||
* {{mIRC|$lactivecid}} | * {{mIRC|$lactivecid}} | ||
* {{mIRC|$lactivewid}} | * {{mIRC|$lactivewid}} | ||
+ | * {{mIRC|$lcm}}() | ||
* {{mIRC|$left}}() | * {{mIRC|$left}}() | ||
* {{mIRC|$leftwin}} | * {{mIRC|$leftwin}} | ||
Line 314: | Line 320: | ||
* ''{{mIRC|$lof}}'' | * ''{{mIRC|$lof}}'' | ||
* {{mIRC|$log}}() | * {{mIRC|$log}}() | ||
+ | * {{mIRC|$log2}}() | ||
* {{mIRC|$log10}}() | * {{mIRC|$log10}}() | ||
* {{mIRC|$logdir}} | * {{mIRC|$logdir}} | ||
Line 355: | Line 362: | ||
* {{mIRC|$modelast}}<sup>E</sup> | * {{mIRC|$modelast}}<sup>E</sup> | ||
* {{mIRC|$modespl}} | * {{mIRC|$modespl}} | ||
+ | * {{mIRC|$modinv}}() | ||
* {{mIRC|$mouse}} | * {{mIRC|$mouse}} | ||
* ''{{mIRC|$mp3}}()'' | * ''{{mIRC|$mp3}}()'' | ||
Line 383: | Line 391: | ||
* {{mIRC|$notify}}() | * {{mIRC|$notify}}() | ||
* {{mIRC|$null}} | * {{mIRC|$null}} | ||
+ | * {{mIRC|$numbits}}() | ||
* {{mIRC|$numeric}} | * {{mIRC|$numeric}} | ||
* {{mIRC|$numtok}}() | * {{mIRC|$numtok}}() | ||
Line 416: | Line 425: | ||
* {{mIRC|$pos}}() | * {{mIRC|$pos}}() | ||
* {{mIRC|$poscs}}() | * {{mIRC|$poscs}}() | ||
+ | * {{mIRC|$powmod}}() | ||
* {{mIRC|$prefix}} | * {{mIRC|$prefix}} | ||
* {{mIRC|$prop}} | * {{mIRC|$prop}} |
Latest revision as of 02:22, 5 June 2023
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)[edit]
$
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()
- $bigfloat()
- $bindip()
- $bitoff()
- $biton()
- $bits
- $bnickE
- $bvar()
- $bytes()
C
- $calc()
- $caller
- $cancel
- $cb
- $cb()
- $cbrt()
- $cdE
- $ceil()
- $chan
- $chan()
- $chanmodes
- $channel()
- $chantypes
- $chat()
- $chr()
- $cid
- $clevelE
- $click()
- $cmdbox
- $cmdline
- $cnick()
- $codepage()
- $color()
- $colour()
- $com()
- $comcall()
- $comchan()
- $comchar
- $comerr
- $compact
- $compress()
- $comval()
- $cos()
- $cosh()
- $count()
- $countcs()
- $cr
- $crc()
- $crc64()
- $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()
- $donotdisturb
- $dqwindow
- $duration()
E
- $ebeeps
- $editbox()
- $emailaddr
- $encode()
- $envvar()
- $error
- $eval()
- $evalnext()
- $eventE
- $eventidE
- $eventparmsE
- $exists()
- $exiting
F
- $factorial()
- $false
- $feof
- $ferr
- $fgetc()
- $fibonacci()
- $file
- $file()
- $filenameE
- $filtered
- $finddir()
- $finddirn
- $findfile()
- $findfilen
- $findtok()
- $findtokcs()
- $fline()
- $flinen
- $floor()
- $font()
- $fopen()
- $fread()
- $freadex()
- $fromeditbox
- $fserv()
- $fserve()
- $fulladdressE
- $fulldate
- $fullname
- $fullscreen
- $fupdate
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()
- $ialmark()
- $ibl()
- $idle
- $iel()
- $ifmatch
- $ifmatch2
- $ignore
- $ignore()
- $iif()
- $iil()
- $inellipse()
- $ini()
- $initopic()
- $inmidi
- $inmode
- $inmp3
- $inpasteE
- $inpoly()
- $input()
- $inrect()
- $inroundrect()
- $insong
- $instok()
- $int()
- $intersect()
- $inwave
- $inwho
- $ip
- $iptype()
- $iql()
- $isadmin
- $isalias()
- $isbit()
- $isdde()
- $isdir()
- $isfile()
- $isid
- $islower()
- $isnumber()
- $isnum()
- $istok()
- $istokcs()
- $isupper()
- $isutf()
K
L
- $lactive
- $lactivecid
- $lactivewid
- $lcm()
- $left()
- $leftwin
- $leftwincid
- $leftwinwid
- $len()
- $level()
- $lf
- $line()
- $lines()
- $link()
- $lock()
- $locked
- $lof
- $log()
- $log2()
- $log10()
- $logdir
- $logstamp
- $logstampfmt
- $longfn()
- $longip()
- $lower()
- $ltimer
M
- $maddressE
- $maddress()
- $mask()
- $matchkeyE
- $matchtok()
- $matchtokcs()
- $max
- $maxlenl
- $maxlenm
- $maxlens
- $md5()
- $me
- $menuE
- $menubar
- $menucontextE
- $menutypeE
- $mid()
- $mididir
- $min
- $mircdir
- $mircexe
- $mircini
- $mircpid
- $mkfn()
- $mklogfn()
- $mknickfn()
- $mnick
- $mode()
- $modefirstE
- $modelastE
- $modespl
- $modinv()
- $mouse
- $mp3()
- $mp3dir
- $msfile()
- $msgstampE
- $msgtagsE
- $msgtags()E
N
- $naddressE
- $network
- $newnickE
- $nhnick()
- =$nick
- $nickE
- $nick()
- $nickmode
- $no
- $nofile()
- $nonstdmsg
- $nopath
- $nopnick()
- $noqt()
- $not()
- $notags()
- $notify
- $notify()
- $null
- $numbits()
- $numeric
- $numtok()
- $nvnick()
O
- $ok
- $online
- $onlineserver
- $onlinetotal
- $onpoly()
- $opnickE
- $opnick()
- $or()
- $ord()
- $os
P
- $parmN
- $parms
- $parseem
- $parselineE
- $parsetypeE
- $parseutfE
- $passivedcc
- $pi
- $pic()
- $play()
- $pnick
- $port
- $portable
- $portfree()
- $pos()
- $poscs()
- $powmod()
- $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()
- $scriptE
- $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
- $sslhash()
- $ssllibdll
- $sslready
- $sslversion
- $starting
- $status
- $str()
- $strip()
- $stripped
- $style()
- $submenu()
- $switchbar
- $sysdir()
T
- $tan()
- $tanh()
- $targetE
- $tempfn
- $tempfn()
- $ticks
- $ticksqpc
- $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[edit]
30 identifiers have been deprecated in favor of new ones.
Removed identifiers[edit]
Three identifiers have been completely removed from mIRC.
mIRC identifier list