You can use:
Code:
 if ($remove(#,$chr(35)) = $nick) { 

This will check if $nick is the same as the channel name :P


Matti