Don't you have to use caps in the line
Code:
SlashCmdList["BLAH"] = whatever()
You could try this block of code;
Code:
TOGGLE_HELM1 = "/togglehelm"
SlashCmdList["TOGGLE_HELM"] = function()
ShowHelm(not ShowingHelm())
end
TOGGLE_CLOAK1 = "/togglecloak"
SlashCmdList["TOGGLE_CLOAK"] = function()
ShowCloak(not ShowingCloak())
end
Not sure if they'll work, as I am super tired, and they are dry coded.
EDIT : See above post, it's more right.