unsane1
11-29-2004, 04:12 PM
Anyone have any hints on how this works? I see stuff like:
SlashCmdList["KILLCOUNT"] = KillCount_Print;
SLASH_KILLCOUNT1 = "/kill";
Is it something where basically you are registering a key for your addon in the SlashCmdList array, and WoW runs through and registers anything with SLASH_KEYNAMEKEYCOUNT? What importance does the function have as the value in that SlashCmdList array?
So, basically I should just use (ignoring cosmos for now):
SlashCmdList["MYNAME"] = "Any message I want?";
SLASH_MYNAME1 = "/start";
SLASH_MYNAME2 = "/stop";
Thanks for any leads, if this is documented somewhere, please feel free to just point me there, I haven't dug anything up on it yet.
SlashCmdList["KILLCOUNT"] = KillCount_Print;
SLASH_KILLCOUNT1 = "/kill";
Is it something where basically you are registering a key for your addon in the SlashCmdList array, and WoW runs through and registers anything with SLASH_KEYNAMEKEYCOUNT? What importance does the function have as the value in that SlashCmdList array?
So, basically I should just use (ignoring cosmos for now):
SlashCmdList["MYNAME"] = "Any message I want?";
SLASH_MYNAME1 = "/start";
SLASH_MYNAME2 = "/stop";
Thanks for any leads, if this is documented somewhere, please feel free to just point me there, I haven't dug anything up on it yet.