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 and on CHAR events.

Example

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