/trunk
SlashCmdList["DRESSTOKILL"] = function(msg, editbox) |
DressToKill:Initialize() |
if msg and msg:lower():match("%s*config%s*") then |
InterfaceOptionsFrame_OpenToFrame(DressToKillOptionsFrame) |
InterfaceOptionsFrame_OpenToCategory(DressToKillOptionsFrame) |
return |
end |
if msg and msg:lower():match("%s*debug%s*") then |
InterfaceOptionsFrame_OpenToFrame(DressToKillDebugFrame) |
InterfaceOptionsFrame_OpenToCategory(DressToKillDebugFrame) |
return |
end |