$keyrpt » History » Revision 3
Revision 2 (Per Amundsen, 08/11/2015 05:14 AM) → Revision 3/6 (Per Amundsen, 08/11/2015 05:14 AM)
_Added in 1.9.1_
*$keyrpt*
Returns [[$true]] if the key is repeating due to a user holding down the key, otherwise [[$false]].
_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>