$keyrpt » History » Version 5
Per Amundsen, 12/14/2016 11:49 PM
1 | 1 | Per Amundsen | _Added in 1.9.1_ |
---|---|---|---|
2 | |||
3 | *$keyrpt* |
||
4 | |||
5 | 2 | Per Amundsen | Returns [[$true]] if the key is repeating due to a user holding down the key, otherwise [[$false]]. |
6 | 1 | Per Amundsen | |
7 | 5 | Per Amundsen | _Only filled during [[on KEYDOWN]] and [[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> |