There's another thread here that gives a good alias for this type of thing, but this should help you out too.

Code:
/ascii {
  if (!@ASCII) { window -E @ASCII Times New Roman,11 }
  var %ascii 1
  while (%ascii < 256) { aline @ASCII $ $+ chr( $+ %ascii $+ ) = $chr(%ascii) | inc %ascii }
}



Keep in mind that if you want to type it in manually, you'd use ALT and the number pad. Let me give you some examples (based off of the font I normally use which is Times New Roman - different fonts will display different characters):

In mirc, typing //echo a $chr(49) would result in:

a 1 (the number ONE)

If you then held the ALT down and pressed 0049 on your number pad, you'd see a 1 (the number ONE) in your editbox.


Another example:

In mirc, typing //echo a $chr(123) would result in:

a {

If you then held the ALT down and pressed 0123 on your number pad, you'd see a { in your editbox.


Those who fail history are doomed to repeat it