-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/XanEXP.lua b/XanEXP.lua
index 2c19ec2..f7b6858 100644
--- a/XanEXP.lua
+++ b/XanEXP.lua
@@ -31,6 +31,9 @@ function f:PLAYER_LOGIN()
SLASH_XANEXP1 = "/xanexp";
SlashCmdList["XANEXP"] = XANEXP_SlashCommand;
+
+ local ver = GetAddOnMetadata("XanEXP","Version") or '1.0'
+ DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] Loaded", "XanEXP", ver or "1.0"))
end
function XANEXP_SlashCommand(cmd)