Good point.

If mIRC recognizing keywords in text is the only problem with the non-breaking space method, isn't it possible for you to just surround words with spaces and use non-breaking space everywhere else?
Eg. $+($str($chr(160),10),$chr(32),NICK,$chr(32),$str($chr(160),10))