From WikiChip
Difference between revisions of "mirc/identifiers/$"
< mirc‎ | identifiers

 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
=$=
+
{{mirc title|$ Identifier}}
The ''$'' character, in mIRC, is a reference point for all identifiers, and some operations. ''$'' is usually followed by any number of built-in mIRC identifier names, with which there are hundreds of properties to choose from.
+
The ''$'' character is a reference point for all identifiers, and some operations. ''$'' is usually followed by any number of built-in mIRC identifier names, with which there are hundreds of properties to choose from.
 
 
  
 
==Examples As Identifier==
 
==Examples As Identifier==
Line 13: Line 12:
 
$1
 
$1
 
</syntaxhighlight>
 
</syntaxhighlight>
: ''Grabs the first property from an event, such as an [[On events - mIRC|ON event]].''
+
: ''Grabs the first word from an event, such as an {{mirc|on events}}.''
 +
 
  
 +
$() itself is a valid identifier which works much like {{mIRC|$eval}}
  
 
==Examples As Operation==
 
==Examples As Operation==
The ''$'' can also precede some characters and words in order to perform a specific operation, such as concatenating characters, or groups of characters, together. Below are a few examples:
+
The ''$'' can also precede some characters and words in order to perform a specific operation, such as concatenating characters, or groups of characters together. Below are a few examples:
  
 
<syntaxhighlight lang="mIRC">
 
<syntaxhighlight lang="mIRC">
Line 25: Line 26:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
: ''This will join the two variables, resulting in the output: "Join me with this" being displayed to the active window in an echo.''
+
: ''This will join the two variables, resulting in the output: "Join me with this" being echoed to the active window.''
  
 
<syntaxhighlight lang="mIRC">
 
<syntaxhighlight lang="mIRC">
Line 32: Line 33:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
: ''This will multiply "33" & "77" and output the results to the active screen.''
+
: ''This will multiply "33" & "77", then output the result to the active window.''
  
  
Line 38: Line 39:
 
There are just too many identifiers and operators that deal with ''$'' to cover here. Refer to the [[List of identifiers - mIRC|identifier's index]] for a more thorough and complete list.
 
There are just too many identifiers and operators that deal with ''$'' to cover here. Refer to the [[List of identifiers - mIRC|identifier's index]] for a more thorough and complete list.
  
{{Navbox
+
{{mIRC identifier list}}
|name        = template:mIRC command list
 
|title      = mIRC commands list
 
|content    =
 
 
 
<!-- Commands -->
 
<table cellpadding="15px;" cellspacing="0" style="text-align: justify;">
 
 
 
<tr>
 
<td valign="top">
 
'''$'''
 
[[$ identifier - mIRC|$]], [[$! identifier - mIRC|$!]], [[$? identifier - mIRC|$?]], [[$* identifier - mIRC|$*]], [[$& identifier - mIRC|$&]], [[$++ identifier - mIRC|$++]], [[$+ identifier - mIRC|$+]]
 
 
 
'''A'''
 
[[$abook identifier - mIRC|$abook]], [[$abs identifier - mIRC|$abs]], [[$acos identifier - mIRC|$acos]], [[$active identifier - mIRC|$active]], [[$activecid identifier - mIRC|$activecid]], [[$activewid identifier - mIRC|$activewid]], [[$adate identifier - mIRC|$adate]], [[$address identifier - mIRC|$address]], [[$addtok identifier - mIRC|$addtok]], [[$addtokcs identifier - mIRC|$addtokcs]], [[$agent identifier - mIRC|$agent]], [[$agentname identifier - mIRC|$agentname]], [[$agentstat identifier - mIRC|$agentstat]], [[$agentver identifier - mIRC|$agentver]], [[$alias identifier - mIRC|$alias]], [[$and identifier - mIRC|$and]], [[$anick identifier - mIRC|$anick]], [[$ansi2mirc identifier - mIRC|$ansi2mirc]], [[$aop identifier - mIRC|$aop]], [[$appactive identifier - mIRC|$appactive]], [[$appstate identifier - mIRC|$appstate]], [[$asc identifier - mIRC|$asc]], [[$asctime identifier - mIRC|$asctime]], [[$asin identifier - mIRC|$asin]], [[$atan identifier - mIRC|$atan]], [[$atan2 identifier - mIRC|$atan2]], [[$auto identifier - mIRC|$auto]], [[$avoice identifier - mIRC|$avoice]], [[$away identifier - mIRC|$away]], [[$awaymsg identifier - mIRC|$awaymsg]], [[$awaytime identifier - mIRC|$awaytime]]
 
 
 
'''B'''
 
[[$banmask identifier - mIRC|$banmask]], [[$base identifier - mIRC|$base]], [[$bfind identifier - mIRC|$bfind]], [[$bindip identifier - mIRC|$bindip]], [[$binvar identifier - mIRC|$binvar]], [[$bitoff identifier - mIRC|$bitoff]], [[$biton identifier - mIRC|$biton]], [[$bits identifier - mIRC|$bits]], [[$bnick identifier - mIRC|$bnick]], [[$bvar identifier - mIRC|$bvar]], [[$bytes identifier - mIRC|$bytes]]
 
</td>
 
 
 
<td valign="top">
 
'''C'''
 
[[$calc identifier - mIRC|$calc]], [[$cancel identifier - mIRC|$cancel]], [[$cb identifier - mIRC|$cb]], [[$cd identifier - mIRC|$cd]], [[$ceil identifier - mIRC|$ceil]], [[$chan identifier - mIRC|$chan]], [[$chanial identifier - mIRC|$chanial]], [[$chanmodes identifier - mIRC|$chanmodes]], [[$channel identifier - mIRC|$channel]], [[$chantypes identifier - mIRC|$chantypes]], [[$chat identifier - mIRC|$chat]], [[$chr identifier - mIRC|$chr]], [[$cid identifier - mIRC|$cid]], [[$clevel identifier - mIRC|$clevel]], [[$click identifier - mIRC|$click]], [[$cmdbox identifier - mIRC|$cmdbox]], [[$cmdline identifier - mIRC|$cmdline]], [[$cnick identifier - mIRC|$cnick]], [[$color identifier - mIRC|$color]], [[$colour identifier - mIRC|$colour]], [[$com identifier - mIRC|$com]], [[$comcall identifier - mIRC|$comcall]], [[$comchan identifier - mIRC|$comchan]], [[$comerr identifier - mIRC|$comerr]], [[$compact identifier - mIRC|$compact]], [[$compress identifier - mIRC|$compress]], [[$comval identifier - mIRC|$comval]], [[$cos identifier - mIRC|$cos]], [[$cosh identifier - mIRC|$cosh]], [[$count identifier - mIRC|$count]], [[$cr identifier - mIRC|$cr]], [[$crc identifier - mIRC|$crc]], [[$creq identifier - mIRC|$creq]], [[$crlf identifier - mIRC|$crlf]], [[$ctime identifier - mIRC|$ctime]], [[$ctimer identifier - mIRC|$ctimer]], [[$ctrlenter identifier - mIRC|$ctrlenter]]
 
 
 
'''D'''
 
[[$date identifier - mIRC|$date]], [[$day identifier - mIRC|$day]], [[$daylight identifier - mIRC|$daylight]], [[$dbuh identifier - mIRC|$dbuh]], [[$dbuw identifier - mIRC|$dbuw]], [[$dccignore identifier - mIRC|$dccignore]], [[$dccport identifier - mIRC|$dccport]], [[$dde identifier - mIRC|$dde]], [[$ddename identifier - mIRC|$ddename]], [[$debug identifier - mIRC|$debug]], [[$decode identifier - mIRC|$decode]], [[$decompress identifier - mIRC|$decompress]], [[$deltok identifier - mIRC|$deltok]], [[$devent identifier - mIRC|$devent]], [[$dialog identifier - mIRC|$dialog]], [[$did identifier - mIRC|$did]], [[$didreg identifier - mIRC|$didreg]], [[$didtok identifier - mIRC|$didtok]], [[$didwm identifier - mIRC|$didwm]], [[$dir identifier - mIRC|$dir]], [[$disk identifier - mIRC|$disk]], [[$dlevel identifier - mIRC|$dlevel]], [[$dll identifier - mIRC|$dll]], [[$dllcall identifier - mIRC|$dllcall]], [[$dname identifier - mIRC|$dname]], [[$dns identifier - mIRC|$dns]], [[$duration identifier - mIRC|$duration]]
 
 
 
'''E'''
 
[[$ebeeps identifier - mIRC|$ebeeps]], [[$editbox identifier - mIRC|$editbox]], [[$email identifier - mIRC|$email]], [[$emailaddr identifier - mIRC|$emailaddr]], [[$encode identifier - mIRC|$encode]], [[$error identifier - mIRC|$error]], [[$eval identifier - mIRC|$eval]], [[$evalnext identifier - mIRC|$evalnext]], [[$event identifier - mIRC|$event]], [[$exists identifier - mIRC|$exists]], [[$exiting identifier - mIRC|$exiting]]
 
 
 
</td>
 
 
 
<td valign="top">
 
'''F'''
 
[[$false identifier - mIRC|$false]], [[$feof identifier - mIRC|$feof]], [[$ferr identifier - mIRC|$ferr]], [[$fgetc identifier - mIRC|$fgetc]], [[$file identifier - mIRC|$file]], [[$filename identifier - mIRC|$filename]], [[$filtered identifier - mIRC|$filtered]], [[$find identifier - mIRC|$find]], [[$finddir identifier - mIRC|$finddir]], [[$finddirn identifier - mIRC|$finddirn]], [[$findfile identifier - mIRC|$findfile]], [[$findfilen identifier - mIRC|$findfilen]], [[$findtok identifier - mIRC|$findtok]], [[$fline identifier - mIRC|$fline]], [[$floor identifier - mIRC|$floor]], [[$fopen identifier - mIRC|$fopen]], [[$fread identifier - mIRC|$fread]], [[$fserv identifier - mIRC|$fserv]], [[$fserve identifier - mIRC|$fserve]], [[$fulladdress identifier - mIRC|$fulladdress]], [[$fulldate identifier - mIRC|$fulldate]], [[$fullname identifier - mIRC|$fullname]], [[$fullscreen identifier - mIRC|$fullscreen]]
 
 
 
'''G'''
 
[[$get identifier - mIRC|$get]], [[$getdir identifier - mIRC|$getdir]], [[$getdot identifier - mIRC|$getdot]], [[$gettok identifier - mIRC|$gettok]], [[$gmt identifier - mIRC|$gmt]], [[$group identifier - mIRC|$group]]
 
 
 
'''H'''
 
[[$halted identifier - mIRC|$halted]], [[$hash identifier - mIRC|$hash]], [[$height identifier - mIRC|$height]], [[$hfile identifier - mIRC|$hfile]], [[$hfind identifier - mIRC|$hfind]], [[$hget identifier - mIRC|$hget]], [[$highlight identifier - mIRC|$highlight]], [[$hmatch identifier - mIRC|$hmatch]], [[$hnick identifier - mIRC|$hnick]], [[$host identifier - mIRC|$host]], [[$hotline identifier - mIRC|$hotline]], [[$hotlinepos identifier - mIRC|$hotlinepos]], [[$hotlink identifier - mIRC|$hotlink]], [[$hregex identifier - mIRC|$hregex]], [[$hypot identifier - mIRC|$hypot]]
 
</td>
 
 
 
<td valign="top">
 
'''I'''
 
[[$iaddress identifier - mIRC|$iaddress]], [[$ial identifier - mIRC|$ial]], [[$ialchan identifier - mIRC|$ialchan]], [[$ibl identifier - mIRC|$ibl]], [[$id identifier - mIRC|$id]], [[$idle identifier - mIRC|$idle]], [[$ids identifier - mIRC|$ids]], [[$iel identifier - mIRC|$iel]], [[$ifmatch identifier - mIRC|$ifmatch]], [[$ignore identifier - mIRC|$ignore]], [[$iif identifier - mIRC|$iif]], [[$iil identifier - mIRC|$iil]], [[$inellipse identifier - mIRC|$inellipse]], [[$ini identifier - mIRC|$ini]], [[$initopic identifier - mIRC|$initopic]], [[$inmidi identifier - mIRC|$inmidi]], [[$inmode identifier - mIRC|$inmode]], [[$inmp3 identifier - mIRC|$inmp3]], [[$inpaste identifier - mIRC|$inpaste]], [[$inpoly identifier - mIRC|$inpoly]], [[$input identifier - mIRC|$input]], [[$inrect identifier - mIRC|$inrect]], [[$inroundrect identifier - mIRC|$inroundrect]], [[$insong identifier - mIRC|$insong]], [[$insongpause identifier - mIRC|$insongpause]], [[$instok identifier - mIRC|$instok]], [[$int identifier - mIRC|$int]], [[$intersect identifier - mIRC|$intersect]], [[$inwave identifier - mIRC|$inwave]], [[$inwho identifier - mIRC|$inwho]], [[$ip identifier - mIRC|$ip]], [[$iptype identifier - mIRC|$iptype]], [[$isalias identifier - mIRC|$isalias]], [[$isbit identifier - mIRC|$isbit]], [[$isdde identifier - mIRC|$isdde]], [[$isdir identifier - mIRC|$isdir]], [[$isfile identifier - mIRC|$isfile]], [[$isid identifier - mIRC|$isid]], [[$islower identifier - mIRC|$islower]], [[$istok identifier - mIRC|$istok]], [[$isupper identifier - mIRC|$isupper]], [[$isutf identifier - mIRC|$isutf]]
 
 
 
'''K'''
 
[[$keychar identifier - mIRC|$keychar]], [[$keyrpt identifier - mIRC|$keyrpt]], [[$keyval identifier - mIRC|$keyval]]
 
 
 
'''L'''
 
[[$lactive identifier - mIRC|$lactive]], [[$lactivecid identifier - mIRC|$lactivecid]], [[$lactivewid identifier - mIRC|$lactivewid]], [[$left identifier - mIRC|$left]], [[$leftwin identifier - mIRC|$leftwin]], [[$leftwinwid identifier - mIRC|$leftwinwid]], [[$len identifier - mIRC|$len]], [[$level identifier - mIRC|$level]], [[$lf identifier - mIRC|$lf]], [[$line identifier - mIRC|$line]], [[$lines identifier - mIRC|$lines]], [[$link identifier - mIRC|$link]], [[$lock identifier - mIRC|$lock]], [[$locked identifier - mIRC|$locked]], [[$lof identifier - mIRC|$lof]], [[$log identifier - mIRC|$log]], [[$log10 identifier - mIRC|$log10]], [[$logdir identifier - mIRC|$logdir]], [[$logstamp identifier - mIRC|$logstamp]], [[$logstampfmt identifier - mIRC|$logstampfmt]], [[$longfn identifier - mIRC|$longfn]], [[$longip identifier - mIRC|$longip]], [[$lower identifier - mIRC|$lower]], [[$ltimer identifier - mIRC|$ltimer]]
 
</td>
 
</tr>
 
 
 
<tr style="background-color: rgba(0,0,0,.1);">
 
<td valign="top">
 
'''M'''
 
[[$maddress identifier - mIRC|$maddress]], [[$mask identifier - mIRC|$mask]], [[$matchkey identifier - mIRC|$matchkey]], [[$matchtok identifier - mIRC|$matchtok]], [[$md5 identifier - mIRC|$md5]], [[$me identifier - mIRC|$me]], [[$menu identifier - mIRC|$menu]], [[$menubar identifier - mIRC|$menubar]], [[$menucontext identifier - mIRC|$menucontext]], [[$menutype identifier - mIRC|$menutype]], [[$mid identifier - mIRC|$mid]], [[$mididir identifier - mIRC|$mididir]], [[$mircdir identifier - mIRC|$mircdir]], [[$mircexe identifier - mIRC|$mircexe]], [[$mircini identifier - mIRC|$mircini]], [[$mkfn identifier - mIRC|$mkfn]], [[$mklogfn identifier - mIRC|$mklogfn]], [[$mknickfn identifier - mIRC|$mknickfn]], [[$mnick identifier - mIRC|$mnick]], [[$mode identifier - mIRC|$mode]], [[$modefirst identifier - mIRC|$modefirst]], [[$modelast identifier - mIRC|$modelast]], [[$modespl identifier - mIRC|$modespl]], [[$mouse identifier - mIRC|$mouse]], [[$mousecx identifier - mIRC|$mousecx]], [[$mousedx identifier - mIRC|$mousedx]], [[$mousekey identifier - mIRC|$mousekey]], [[$mouselb identifier - mIRC|$mouselb]], [[$mousewin identifier - mIRC|$mousewin]], [[$mousex identifier - mIRC|$mousex]], [[$mousey identifier - mIRC|$mousey]], [[$mp3 identifier - mIRC|$mp3]], [[$mp3dir identifier - mIRC|$mp3dir]], [[$msfile identifier - mIRC|$msfile]], [[$msgstamp identifier - mIRC|$msgstamp]]
 
 
 
'''N'''
 
[[$N identifier - mIRC|$N]], [[$naddress identifier - mIRC|$naddress]], [[$network identifier - mIRC|$network]], [[$nhnick identifier - mIRC|$nhnick]], [[$nick identifier - mIRC|$nick]], [[$nickmode identifier - mIRC|$nickmode]], [[$no identifier - mIRC|$no]], [[$nofile identifier - mIRC|$nofile]], [[$nopath identifier - mIRC|$nopath]], [[$nopnick identifier - mIRC|$nopnick]], [[$noqt identifier - mIRC|$noqt]], [[$not identifier - mIRC|$not]], [[$notags identifier - mIRC|$notags]], [[$notify identifier - mIRC|$notify]], [[$null identifier - mIRC|$null]], [[$numeric identifier - mIRC|$numeric]], [[$numtok identifier - mIRC|$numtok]], [[$nvnick identifier - mIRC|$nvnick]]
 
 
 
'''O'''
 
[[$ok identifier - mIRC|$ok]], [[$online identifier - mIRC|$online]], [[$onpoly identifier - mIRC|$onpoly]], [[$opnick identifier - mIRC|$opnick]], [[$or identifier - mIRC|$or]], [[$ord identifier - mIRC|$ord]], [[$os identifier - mIRC|$os]]
 
</td>
 
 
 
<td valign="top">
 
'''P'''
 
[[$parmN identifier - mIRC|$parmN]], [[$parms identifier - mIRC|$parms]], [[$passivedcc identifier - mIRC|$passivedcc]], [[$pi identifier - mIRC|$pi]], [[$pic identifier - mIRC|$pic]], [[$play identifier - mIRC|$play]], [[$pnick identifier - mIRC|$pnick]], [[$portable identifier - mIRC|$portable]], [[$portfree identifier - mIRC|$portfree]], [[$pos identifier - mIRC|$pos]], [[$poscs identifier - mIRC|$poscs]], [[$prefix identifier - mIRC|$prefix]], [[$prop identifier - mIRC|$prop]], [[$protect identifier - mIRC|$protect]], [[$puttok identifier - mIRC|$puttok]]
 
 
 
'''Q'''
 
[[$qt identifier - mIRC|$qt]], [[$query identifier - mIRC|$query]]
 
 
 
'''R'''
 
[[$r identifier - mIRC|$r]], [[$raddress identifier - mIRC|$raddress]], [[$rand identifier - mIRC|$rand]], [[$rawbytes identifier - mIRC|$rawbytes]], [[$rawmsg identifier - mIRC|$rawmsg]], [[$read identifier - mIRC|$read]], [[$readini identifier - mIRC|$readini]], [[$readn identifier - mIRC|$readn]], [[$regbr identifier - mIRC|$regbr]], [[$regex identifier - mIRC|$regex]], [[$regml identifier - mIRC|$regml]], [[$regsub identifier - mIRC|$regsub]], [[$regsubex identifier - mIRC|$regsubex]], [[$remote identifier - mIRC|$remote]], [[$remove identifier - mIRC|$remove]], [[$removecs identifier - mIRC|$removecs]], [[$remtok identifier - mIRC|$remtok]], [[$replace identifier - mIRC|$replace]], [[$replacecs identifier - mIRC|$replacecs]], [[$replacex identifier - mIRC|$replacex]], [[$reptok identifier - mIRC|$reptok]], [[$result identifier - mIRC|$result]], [[$rgb identifier - mIRC|$rgb]], [[$right identifier - mIRC|$right]], [[$rnick identifier - mIRC|$rnick]], [[$round identifier - mIRC|$round]]
 
</td>
 
 
 
<td valign="top">
 
'''S'''
 
[[$scid identifier - mIRC|$scid]], [[$scon identifier - mIRC|$scon]], [[$script identifier - mIRC|$script]], [[$scriptdir identifier - mIRC|$scriptdir]], [[$scriptline identifier - mIRC|$scriptline]], [[$sdir identifier - mIRC|$sdir]], [[$send identifier - mIRC|$send]], [[$server identifier - mIRC|$server]], [[$serverip identifier - mIRC|$serverip]], [[$servertarget identifier - mIRC|$servertarget]], [[$sfile identifier - mIRC|$sfile]], [[$sha1 identifier - mIRC|$sha1]], [[$shortfn identifier - mIRC|$shortfn]], [[$show identifier - mIRC|$show]], [[$signal identifier - mIRC|$signal]], [[$sin identifier - mIRC|$sin]], [[$sinh identifier - mIRC|$sinh]], [[$site identifier - mIRC|$site]], [[$sline identifier - mIRC|$sline]], [[$snick identifier - mIRC|$snick]], [[$snicks identifier - mIRC|$snicks]], [[$snotify identifier - mIRC|$snotify]], [[$sock identifier - mIRC|$sock]], [[$sockbr identifier - mIRC|$sockbr]], [[$sockerr identifier - mIRC|$sockerr]], [[$sockname identifier - mIRC|$sockname]], [[$sorttok identifier - mIRC|$sorttok]], [[$sound identifier - mIRC|$sound]], [[$speak identifier - mIRC|$speak]], [[$sqrt identifier - mIRC|$sqrt]], [[$sreq identifier - mIRC|$sreq]], [[$ssl identifier - mIRC|$ssl]], [[$ssldll identifier - mIRC|$ssldll]], [[$ssllibdll identifier - mIRC|$ssllibdll]], [[$sslready identifier - mIRC|$sslready]], [[$sslversion identifier - mIRC|$sslversion]], [[$starting identifier - mIRC|$starting]], [[$status identifier - mIRC|$status]], [[$str identifier - mIRC|$str]], [[$strip identifier - mIRC|$strip]], [[$stripped identifier - mIRC|$stripped]], [[$style identifier - mIRC|$style]], [[$submenu identifier - mIRC|$submenu]], [[$switchbar identifier - mIRC|$switchbar]]
 
 
 
'''T'''
 
[[$tan identifier - mIRC|$tan]], [[$tanh identifier - mIRC|$tanh]], [[$target identifier - mIRC|$target]], [[$ticks identifier - mIRC|$ticks]], [[$time identifier - mIRC|$time]], [[$timeout identifier - mIRC|$timeout]], [[$timer identifier - mIRC|$timer]], [[$timestamp identifier - mIRC|$timestamp]], [[$timestampfmt identifier - mIRC|$timestampfmt]], [[$timezone identifier - mIRC|$timezone]], [[$tip identifier - mIRC|$tip]], [[$tips identifier - mIRC|$tips]], [[$titlebar identifier - mIRC|$titlebar]], [[$token identifier - mIRC|$token]], [[$toolbar identifier - mIRC|$toolbar]], [[$topic identifier - mIRC|$topic]], [[$treebar identifier - mIRC|$treebar]], [[$true identifier - mIRC|$true]], [[$trust identifier - mIRC|$trust]]
 
 
 
'''U'''
 
[[$ulevel identifier - mIRC|$ulevel]], [[$ulist identifier - mIRC|$ulist]], [[$upper identifier - mIRC|$upper]], [[$uptime identifier - mIRC|$uptime]], [[$url identifier - mIRC|$url]], [[$usermode identifier - mIRC|$usermode]], [[$utfdecode identifier - mIRC|$utfdecode]], [[$utfencode identifier - mIRC|$utfencode]]
 
 
 
<td valign="top">
 
'''V'''
 
[[$v1 identifier - mIRC|$v1]], [[$v2 identifier - mIRC|$v2]], [[$var identifier - mIRC|$var]], [[$vcmd identifier - mIRC|$vcmd]], [[$vcmdstat identifier - mIRC|$vcmdstat]], [[$vcmdver identifier - mIRC|$vcmdver]], [[$version identifier - mIRC|$version]], [[$vnick identifier - mIRC|$vnick]], [[$vol identifier - mIRC|$vol]]
 
 
 
'''W'''
 
[[$wavedir identifier - mIRC|$wavedir]], [[$wid identifier - mIRC|$wid]], [[$width identifier - mIRC|$width]], [[$wildsite identifier - mIRC|$wildsite]], [[$wildtok identifier - mIRC|$wildtok]], [[$window identifier - mIRC|$window]], [[$wrap identifier - mIRC|$wrap]]
 
 
 
'''X'''
 
[[$xor identifier - mIRC|$xor]]
 
 
 
'''Y'''
 
[[$yes identifier - mIRC|$yes]]
 
</td>
 
</tr>
 
</table>
 
<!-- END -->
 
 
 
}}<noinclude>
 
[[Category:mIRC]]
 
[[Category:Navigation templates]]
 
</noinclude>
 
 
 
  
[[Category:mIRC identifiers]]
+
[[Category:mIRC identifiers|$ identifier - mIRC]]

Latest revision as of 20:49, 9 April 2018

The $ character is a reference point for all identifiers, and some operations. $ is usually followed by any number of built-in mIRC identifier names, with which there are hundreds of properties to choose from.

Examples As Identifier[edit]

Some examples of the $ used as an identifier include the following:

$dialog(mydialog).title
Retrieves the title for the specified dialog.
$1
Grabs the first word from an event, such as an on events.


$() itself is a valid identifier which works much like $eval

Examples As Operation[edit]

The $ can also precede some characters and words in order to perform a specific operation, such as concatenating characters, or groups of characters together. Below are a few examples:

alias testme {
  var %myvar1 = Join m, %myvar2 = e with this, %join = %myvar1 $+ %myvar2
  echo -a %join
}
This will join the two variables, resulting in the output: "Join me with this" being echoed to the active window.
alias testme {
  echo -a $calc(33 * 77)
}
This will multiply "33" & "77", then output the result to the active window.


Others[edit]

There are just too many identifiers and operators that deal with $ to cover here. Refer to the identifier's index for a more thorough and complete list.


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