Double press check?

Hi guys, assume that it's in a Battle and i want to check if player double press a button.
How can i do it with .. a script snippet perhaps? Thank you =D
That would depend upon two factors:
1) Which engine
2) Which keyboard script 'for' that engine.

Otherwise, the typical INPUT class in your engine typically has merely single-click, repeat and press options.
https://torigoya.hatenadiary.jp/entry/20111220/repeat
Script link is under "高速Input.repeat?さん for RGSS3"
Awesome thank you very much! This script is exactly what i expected for =D

Original thread: https://forums.rpgmakerweb.com/threads/double-press-check.108524/