Although I'm writing this up for you, I really recommend that you read these so that you understand.
/help on TEXT
/help /splay
on *:text:*:#: {
if (hello isin $1-) { .splay "path\hello.wav" }
elseif (goodbye isin $1-) { .splay "path\goodbye.wav" }
ETC.
}
That's a very easy way of doing it for you. As a note, because of using elseif, it will only play the sound for the first word that is found. For example, if someone said, "Hello, just wanted to say goodbye." in the channel, it would play hello.wav, but not goodbye.wav. So, you should put these in order of how you'd prefer to have them played.
If you would like them all to play, then don't use elseif... use if for all of them. That will queue the sounds so that the first will play, then the second, and so on. Personally, I think that would be annoying, but it's up to you.
