SDPhantom |
10-04-12 09:31 AM |
Quote:
Originally Posted by suicidalkatt
(Post 265859)
Code:
SlashCmdList.OSDUNGCHAL1 = function()
osSetType("party",8)
end
SlashCmdList.OSDUNGCHAL2 = function()
osSetType("party",8)
end
SLASH_OSDUNGCHAL1 = "/c5";
SLASH_OSDUNGCHAL2 = "/dchallenge";
|
The SLASH_* variables are missing their index number, note this should be SLASH_OSDUNGCHAL1 1 and SLASH_OSDUNGCHAL2 1 with the code as-is. Since both functions are the same code, I would suggest combining them into SlashCmdList.OSDUNGCHAL and leaving the SLASH_* variables the way they are. This would mean they get their proper indices of 1 and 2.
|