Isn't working -- in the first part you didn't close all the brackets, but that didn't help when I corrected that. (though the first part stand alone works just fine)

I toyed w/the 2nd part, taking out the colon after #channel and taking out the unnecessary code (ban | halt) but no matter what I did it never triggered anything...