//#CLIENTSIDE function onKeyPressed() { setTimer(0.05); } function onTimeout() { if (keydown(5)) { doStuff(); setTimer(0.05); } }