From WikiChip
Difference between revisions of "mirc/identifiers/$chr"
m |
m |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''$chr''' returns the character attached to a specified | + | {{mirc title|$chr Identifier}}'''$chr''' returns the character attached to a specified [[Unicode]] [[code point]] number. |
− | = Synopsis = | + | |
+ | == Synopsis == | ||
<pre>$chr(<N>)</pre> | <pre>$chr(<N>)</pre> | ||
− | = Switches = | + | == Switches == |
None | None | ||
− | = Parameters = | + | == Parameters == |
− | <span style="display: inline-block; width: 50px;">'''N'''</span>This is the | + | <span style="display: inline-block; width: 50px;">'''N'''</span>This is the [[Unicode]] [[code point]] value that you wish to retrieve the character for. |
− | = Example = | + | == Example == |
− | '''Echo the character attached to | + | '''Echo the character attached to [[Unicode]] [[code point]] ''63'' to the active window''' |
<pre>//echo -a $chr(63)</pre> | <pre>//echo -a $chr(63)</pre> | ||
− | '''Echo the character attached to | + | '''Echo the character attached to [[Unicode]] [[code point]] ''85'' to the active window''' |
<pre>//echo -a $chr(85)</pre> | <pre>//echo -a $chr(85)</pre> | ||
− | = Compatibility = | + | == Compatibility == |
− | + | {{mIRC compatibility|4.5}} | |
− | |||
− | |||
− | = See also = | + | == See also == |
− | * [[ | + | * {{mIRC|$asc}} |
+ | * [[List of identifiers - mIRC]] | ||
+ | {{mIRC identifier list}} | ||
− | [[Category:mIRC identifiers]] | + | [[Category:mIRC identifiers|chr]] |
Latest revision as of 13:38, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$chr returns the character attached to a specified Unicode code point number.
Synopsis[edit]
$chr(<N>)
Switches[edit]
None
Parameters[edit]
NThis is the Unicode code point value that you wish to retrieve the character for.
Example[edit]
Echo the character attached to Unicode code point 63 to the active window
//echo -a $chr(63)
Echo the character attached to Unicode code point 85 to the active window
//echo -a $chr(85)
Compatibility[edit]
Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC identifier list