Ok, so there is a fairly annoying warrior in my guild who seems to thing "YOU SUCK" is a valid response for any question, becuase of that I've decided to write a tiny mod to respond to him automatically, then have my entire guild install it :)
Problem is, I have no idea how string patterns work. I've read the stuff on wowwiki and I'm still *somewhat* confused.
Basically I need to scan a message and look for "YOU SUCK" in it. I want it to catch it anywhere in the sentance...is this all I need?
string.find(arg1, ".*YOU SUCK.*")
It seems too simple, but eh. I just want to make sure its working before I go home / we start raiding tonight, and I can't really test and learn at work =(