Vocie Commands/ Microphone

Okay, so i am working on a project that requires voice commands, for example if i say into the microphone (dog) it will go to frame 6 and do what ever is programmed to frame six, but if i say (cat) it will go to frame three and do what ever is programmed to frame three, i need to be able to have multiple voice commands per frame!!

Thanks for the help!!