Quantcast

Added /kt reset to help message.

F16Gaming [11-01-11 - 06:10]
Added /kt reset to help message.
Filename
Dialogs.lua
KillTrack.lua
diff --git a/Dialogs.lua b/Dialogs.lua
index 0e75355..dd29096 100644
--- a/Dialogs.lua
+++ b/Dialogs.lua
@@ -41,7 +41,7 @@ local function Reset()
 	local count = #KT.Global.MOBS + #KT.CharGlobal.MOBS
 	wipe(KT.Global.MOBS)
 	wipe(KT.CharGlobal.MOBS)
-	KT:Msg("Mob entries have been removed!")
+	KT:Msg(("%d mob entries have been removed!"):format(count))
 	StaticPopup_Show("KILLTRACK_FINISH", tostring(count))
 end

diff --git a/KillTrack.lua b/KillTrack.lua
index 5b20c6d..141f59a 100644
--- a/KillTrack.lua
+++ b/KillTrack.lua
@@ -158,6 +158,7 @@ SlashCmdList["KILLTRACK"] = function(msg, editBox)
 		KT:Msg("/kt target - Display number of kills on target mob.")
 		KT:Msg("/kt <name> - Display number of kills on <name>, <name> can also be NPC ID.")
 		KT:Msg("/kt print - Toggle printing kill updates to chat.")
+		KT:Msg("/kt reset - Clear the mob database.")
 		KT:Msg("/kt - Displays this help message.")
 	end
 end