ASCII Table
mIRC Pastebin
Raw Numerics
User Map
User Browser
Channel Browser
mIRC Scripts Dot Com IRC Junkie - IRC News
Team Clan X Scripting Group Site (French) Scripting Website
 16 May @ 06:17am. #mirc.net @ undernet. Welcome, Guest | Sign in   
   Forums       Screenshots       Scripts       Addons       Snippets       Misc       DLLs       Tutorials       Community    
   Submit form       Download mIRC       Servers.ini       IRC News       Newbie Tutorial       Challenges       Tools    
 › ASCII number and symbols

ASCII stands for American Standard Code for Information Interchange.
Below is the ASCII character table and this includes descriptions of the first 32 non-printing characters.
To type a character not available on your keyboard lookup the number in the column Dec and type Alt + Dec number.
If you want to make the character @ you type Alt+064.
mIRC got 2 identifiers $chr and $asc that can be used to convert a number or character into eachother.
//echo -a $chr(64)
it will display @ and if you type
//echo -a $asc(@)
it will display 64.


Dec Char Dec Char Dec Char Dec Char Dec Char Dec Char Dec Char Dec Char
0 16 32 480 64@ 80P 96` 112p
1 17 33! 491 65A 81Q 97a 113q
2 18 34" 502 66B 82R 98b 114r
3 19 35# 513 67C 83S 99c 115s
4 20 36$ 524 68D 84T 100d 116t
5 21 37% 535 69E 85U 101e 117u
6 22 38& 546 70F 86V 102f 118v
7 23 39' 557 71G 87W 103g 119w
8 24 40( 568 72H 88X 104h 120x
9 25 41) 579 73I 89Y 105i 121y
10 26 42* 58: 74J 90Z 106j 122z
11 27 43+ 59; 75K 91[ 107k 123{
12 28 44, 60< 76L 92\ 108l 124|
13 29 45- 61= 77M 93] 109m 125}
14 30 46. 62> 78N 94^ 110n 126~
15 31 47/ 63? 79O 95_ 111o 127

ASCII number 0-31 got no real characters, those were intended for teleprinters and have functions such as: Start heading, Start of text, End of text, Line feed and such, some of those ASCII characters are now used by mIRC for control codes such as colour code.

Since mIRC runs on Windows $chr and $asc only got support for the newer extended ASCII table (the Microsoft table) and not the original IBM version.

The difference is:

mIRC's $chr(174) returns the same as Alt+0174 and not the same as Alt+174.
Alt+0174 returns ® while Alt+174 returns «. $asc works the same way, $asc(®) returns 174 while $asc(«) returns 171.

Here is the extended ASCII table (Microsoft version)

Dec Char Dec Char Dec Char Dec Char Dec Char Dec Char Dec Char Dec Char
128 144 160  176° 192À 208Ð 224à 240ð
129 145 161¡ 177± 193Á 209Ñ 225á 241ñ
130 146 162¢ 178² 194Â 210Ò 226â 242ò
131ƒ 147 163£ 179³ 195Ã 211Ó 227ã 243ó
132 148 164¤ 180´ 196Ä 212Ô 228ä 244ô
133 149 165¥ 181µ 197Å 213Õ 229å 245õ
134 150 166¦ 182 198Æ 214Ö 230æ 246ö
135 151 167§ 183· 199Ç 215× 231ç 247÷
136ˆ 152˜ 168¨ 184¸ 200È 216Ø 232è 248ø
137 153 169© 185¹ 201É 217Ù 233é 249ù
138Š 154š 170ª 186º 202Ê 218Ú 234ê 250ú
139 155 171« 187» 203Ë 219Û 235ë 251û
140Œ 156œ 172¬ 188¼ 204Ì 220Ü 236ì 252ü
141 157 173­ 189½ 205Í 221Ý 237í 253ý
142Ž 158ž 174® 190¾ 206Î 222Þ 238î 254þ
143 159Ÿ 175¯ 191¿ 207Ï 223ß 239ï 255ÿ

IRC ASCII number table
$chr(1)Client-to-Client Protocol
$chr(2)Ctrl+bBold text
$chr(3)Ctrl+kColour text
$chr(15)Ctrl+oNormal text
$chr(22)Ctrl+rReversed text
$chr(31)Ctrl+uUnderlined text

Contacts & Credits  /  Contributers  /  Terms and Conditions  /  Our Logos  /  Statistics  /  Report Abuse  /  Our History  /  Advertise
Link to us:

Copyright © mIRC Scripting Network 1999-2008.
If you have found a bug, please send a pmsg to wiggle or tye (pmsg).
Page compiled in 0.005s.
87 visitors online (0 registered / 87 guests).
Using GZIP Compression.
You just ate 6.55 kb of our traffic.