13.07.2009, 13:39
BadWords has 4 words in it. Your last code checks only one of that. You have to loop through the array as Gergo showed. Also I don't recommend you to constantly recreate the name string. Just create it once and use it everywhere.

