I added the bracket, but you don\'t really need to have the \"/ban -k $chan $1 1 $$?=\"Reason\" part a space away. It still works fine for me.