instead of using # in your script can use $chan i just perfer to use that and and describe $chan it is much better then msg $chan