-Display login version information and declaration that mod was successfully loaded.
Xruptor [06-14-10 - 21:59]
-Display login version information and declaration that mod was successfully loaded.
diff --git a/XanDurability.lua b/XanDurability.lua
index cb79402..2ca3579 100644
--- a/XanDurability.lua
+++ b/XanDurability.lua
@@ -40,6 +40,9 @@ function f:PLAYER_LOGIN()
SLASH_XANDURABILITY1 = "/xdu";
SlashCmdList["XANDURABILITY"] = XanDurability_SlashCommand;
+
+ local ver = GetAddOnMetadata("XanDurability","Version") or '1.0'
+ DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] Loaded", "XanDurability", ver or "1.0"))
end
function XanDurability_SlashCommand(cmd)