ASCII
Chart
STANDARD
ASCII
This chart applies to most standard fonts, such as Arial, FixedSys, Times New
Roman, etc.

TERMINAL
ASCII
This chart applies to the Terminal font.

SPECIAL
NOTES
The following ASCII codes have special meanings and applications-
- 0
- "null" (nothing, nada, don't bother using it)
- 1
- Used at the beginning and end of a CTCP
- 2
- Bold attribute (ctrl+B in mIRC)
- 3
- Color coding attribute (ctrl+K in mIRC)
- 6
- Reserved for CTCP/2 attributes in the future
- 9
- TAB (used for tabbed listboxes, etc.)
- 10
- Linefeed (same as $lf)
- 13
- Carraige return (same as $cr)
- 15
- Reset attributes (ctrl+O in mIRC)
- 22
- Reverse attribute (ctrl+R in mIRC)
- 31
- Underline attribute (ctrl+U in mIRC)
The following ASCII codes are often needed with $chr() since the characters
they represent cannot always be used alone-
- 32
- Space
- 35
- Pound # sign
- 36
- Dollar $ sign
- 37
- Percent % sign
- 40
- Left ( parenthesis
- 41
- Right ) parenthesis
- 44
- Comma ,
- 91
- Left [ bracket
- 93
- Right ] bracket
- 123
- Left { brace
- 124
- Vertical | pipe
- 125
- Right } brace
The following ASCII codes are often useful as token seperators-
- 32
- Space
- 33
- Exclaimation ! point (for full addresses)
- 44
- Comma ,
- 45
- Hyphen -
- 46
- Period . (for hostnames and IP addresses)
- 58
- Colon :
- 64
- At @ sign (for addresses)
- 92
- Backslash \ (for paths)
The following ASCII codes may be of special interest-
- 160
- "Fake" or "non-breaking" space- Since mIRC strips
excess spaces, this can be useful to create a string of spaces or otherwise
fill up space while still appearing to be blank. (doesn't work with Terminal
fonts.)
- 127
- The same as pressing Ctrl+Backspace. This isn't really useful for display,
but is often a convienient placeholder in scripts. (since it's easy to press
Ctrl+Backspace.)
- 153
- Trademark symbol
- 169
- Copyright symbol
- 149
- A neat little dot ;)
- 248
- This is good for use in dynamic popups to show which option is currently
on. Show a $chr(248) next to an enabled option, and TWO $chr(160) next to
the disabled option(s).
Remember that some ascii codes (those above 127) may not appear on some
fonts, so take this into account when choosing your characters. For example,
149, the dot, does not work in MS Sans Serif. This makes it unsuitable for use
in popups, which on most Windows systems are shown in MS Sans Serif. Also, 160
(non-breaking space) shows up differently (like most characters) in Terminal.
For display to most windows, you should stay away from these special characters,
and reserve them for use in popups or custom windows.