$keychar » History » Version 2
Per Amundsen, 08/11/2015 05:12 AM
1 | 1 | Per Amundsen | _Added in 1.9.6_ |
---|---|---|---|
2 | |||
3 | *$keychar* |
||
4 | |||
5 | Returns the actual letter of the key being pressed. |
||
6 | |||
7 | 2 | Per Amundsen | _Only filled during [[on KEYDOWN]] [[on KEYUP]] [[Scripting_Events|events]]. |
8 | 1 | Per Amundsen | |
9 | *Example* |
||
10 | |||
11 | <pre> |
||
12 | on *:KEYDOWN:*:*:echo -ag $keyval was pressed, the character was $keychar, key repeat was $iif($keyrpt, on, off) |
||
13 | </pre> |