Nice one man!
It doesnt work as you have shown since it doesnt evaluate the variables before running, even when in quotes. So I just changed the variable to an actual channel like #lostsanity without the quotes and it works perfect.
Good job, thanks to all who helped!