Add role message on login. (#7)

This commit is contained in:
salt-die
2022-10-31 20:27:19 -05:00
committed by GitHub
parent c1146d473d
commit 8f4463b46a
3 changed files with 6 additions and 15 deletions
+1
View File
@@ -1197,6 +1197,7 @@ function E:Initialize()
local msg = format(L["LOGIN_MSG"], self.media.hexvaluecolor, self.media.hexvaluecolor, self.version)
if Chat.Initialized then msg = select(2, Chat:FindURL("CHAT_MSG_DUMMY", msg)) end
print(msg)
E:Print("Use /elvrole [melee, caster, ranged, tank] to optimize the UI for your role. Your current role is "..E.Role)
end
if GetCVar("scriptProfile") ~= "1" then