Code:
SLASH_TOGGLEHELM1 = "/toggleHelm"
SLASH_TOGGLECLOAK1 = "/toggleCloak"
I think, the 1's are important.
Also you should move your function-definitions at the top of the file, because at the moment where you use them in SlashCmdList they are "nil" / not defined.