Change all the #yourchans.
Just a small tip:
If you would specify at the beginning of the code: var %chan = #yourchan, and reference %chan subsequently, then he can just change the #yourchan there, and have it updated everywhere else automatically. In contrary, now one needs to look for all references of #yourchan and change them.
I know it's a detail, though it's actually quite handy.