View Single Post
  #16  
Old 03-18-2008, 02:07 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I see. I hadn't considered that. Good call.

Here's what you should really, do, though:

$text =~/\bme\b/ - Would not match the "me" in name. The "\b" means there must not be text next to the match so "me" must be by itself.

Just use that in your trigger, and it will only match "bend" when there's nothing else around it. So it will match "Go ahead and bend my mind", but not "You're such a crazy mindbender".
Reply With Quote