instead of hard coding profanities into the script, u can just put them all in a file (called profanity.txt in this eg) and just test from there, this way it'll be much easier to add/remove words. plus u can give other ppl in the channel (or other operators) the ability to add to the file by doing /msg !prog blah (also included here). this is a simple example obviously... u might want to consider loading..