why are you useing !spy and !unspy as wildcards? just take out a so it\'s !spy and maybe add a check that $2 is a channel that you are inputting.