diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 10ea611..d40ec82 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -26,9 +26,16 @@ function core:OnEnable() self.db.profile.lockouts[name] = {} end + self:RegisterChatCommand('ct','ViewChores'); self:RegisterEvent('UPDATE_INSTANCE_INFO','UpdateChores') end +function core:ViewChores() + for k,v in pairs(self.db.profile.valorPoints) do + print(k,'has',v,'Valor Points this week.') + end +end + function core:UpdateChores() local level = UnitLevel('player')