I'm making a highlighter script that echo's to my status window when a certain word was said, what channel, by who, and the text it was said in. I'm doing this so that I can see if people are talking about/to me in certain channels. I have it set up fine, the only problem is if i wanted it to match my name 'Ben' but someone says 'beneath' it still matches it. I searched the forums on whole word matching and came up with some word boundary commands (\b) but I didn't do them in the right context or just don't get them. Anyways here is the script:

Code:
on *:text:*ben*:*: {
  echo -st 4,1Ben 15was said in4 $chan $+ 15, by4 $nick $+ 15, the text was:4 $$1-
}


Also is it possible to flash and change the colors of these words like the highlight feature does? (only reason I don't use the highlight feature is it doesn't let me choose specific channels)

Thanks