Project

General

Profile

$keychar » History » Revision 3

Revision 2 (Per Amundsen, 08/11/2015 05:12 AM) → Revision 3/5 (Per Amundsen, 08/11/2015 05:14 AM)

_Added in 1.9.6_ 

 *$keychar* 

 Returns the actual letter of the key being pressed. 

 _Only filled during [[on KEYDOWN]] [[on KEYUP]] [[Scripting_Events|events]]._ [[Scripting_Events|events]]. 

 *Example* 

 <pre> 
 on *:KEYDOWN:*:*:echo -ag $keyval was pressed, the character was $keychar, key repeat was $iif($keyrpt, on, off) 
 </pre>