Any time you have lots of those special (non-alphanumeric) characters in a channel name, it's ALWAYS best to put the check inside the code rather than leaving it in the event header - you never know what will happen if you had (for example) a channel with a $ in it.