From WikiChip
mirc/identifiers/$asc
< mirc‎ | identifiers
Revision as of 01:32, 23 June 2014 by Zmodem (talk | contribs) (Created $asc identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$asc is used to return the ASCII character code number for a specified character.

Synopsis

$asc(<char>)

Switches

None

Example

Echo the ASCII code for the letter A to the active window

//echo -a $asc(A)

Echo the ASCII code for the number 7 to the active window

//echo -a $asc(7)

See also