Adding cheats to game

i would like to have it so if u hit a string of keys in a row a cheat is activated right now i have :


if (Key.isDown(Key.TAB)){
                           _root.points += 5;
                           }