Other than the scripting, I think the biggest problem you're going to face is words can be misspelled in a lot of different ways. Your bot would have to look for each instance of a word.