From WikiChip
Difference between revisions of "mirc/identifiers/$asc"
< mirc‎ | identifiers

(Created $asc identifier - mIRC)
 
m
Line 6: Line 6:
 
= Switches =
 
= Switches =
 
None
 
None
 +
 +
= Parameters =
 +
<span style="display: inline-block; width: 50px;">'''char'''</span>This would be any special character, letter, or number that you wish to retrieve the ASCII code for.
  
 
= Example =
 
= Example =

Revision as of 00:33, 23 June 2014

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

Synopsis

$asc(<char>)

Switches

None

Parameters

charThis would be any special character, letter, or number that you wish to retrieve the ASCII code for.

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