So then you would need it to only work in a certain channel name rather than a certain server?

Code:
 
if ($chan == CHANNELNAME) { 


Regards

JayStew