Right, i have just tested the script and there is one problem

No matter what text is said in the channel it tells me that it is a swear word, and i have created the text file swear.txt as you said and filled in the bad words one on each line.

Can anyone help on this

Much appreciated