Originally Posted by suipsyco
I've read so many posts and tutorials on this but I can't find the fault in my code... i have
Code:
SlashCmdList["RAIDLOCKREPORT"] = DEFAULT_CHAT_FRAME:AddMessage("Working");
SLASH_RAIDLOCKREPORT1 = "/raidlockreport";
SLASH_RAIDLOCKREPORT2 = "/rlr";
When I run the code I get "Type '/help' for a listing of a few commands."
|
Code:
SlashCmdList["RAIDLOCKREPORT"] = function()
DEFAULT_CHAT_FRAME:AddMessage("Working");
end
SLASH_RAIDLOCKREPORT1 = "/raidlockreport";
SLASH_RAIDLOCKREPORT2 = "/rlr";
Drycoded.
Edit: Assuming the addon where you have that code is actually loading without errors.