Project

General

Profile

$keyrpt » History » Revision 5

Revision 4 (Per Amundsen, 08/11/2015 05:14 AM) → Revision 5/6 (Per Amundsen, 12/14/2016 11:49 PM)

_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]] and [[on KEYUP]] [[Scripting_Events|events]]._ 

 *Example* 

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