local t = self:GetQuestTableByTitle(title) |
if t then |
t.disabled = not t.disabled |
return t.disabled |
else |
table.insert( self.db.profile.data.custom, { name = title } ) |
return t.disabled |
end |
end |
|
function EasyDaily:SlashToggleQuest() |
local title = GetTitleText() |
if title then |
local disabled = self:ToggleQuestState(title) |
self:Print(string.format("%s: %s", title, ( disabled and "Disabled" ) or "Enabled")) |
end |
end |
|
-------------------------------------------------------------------------------------------------- |
-- Quest Completion Queries |
-------------------------------------------------------------------------------------------------- |