I was sent here from another forum for this question, I was told this is up y'all alley

Does anyone know how I could do this? a very simple example would be saying "happy Halloween" and having a thunder clap play every time that is said by anyone.