function onKeyPressed() { if (params[1] == "q") { stuffhere; } }
if (keypressed) { if (strequals(#p(1),q)) { stuffhere; } }