function ControlName.onKeyDown(keycode, char, scancode) { if(keycode == VK_RETURN) { player.chat = "ROFL U PRESED ENTAR U SILY GOOSE"; } }