Thread: Slash Commands
View Single Post
06-30-09, 03:25 AM   #5
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 199
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.
__________________
« Website | GitHub »

Oh hai!
  Reply With Quote