You can create any frame you want to "popup/show()" your messages
Lua Code:
local function ShowMessage(text)
if not JDoubleU00MessageBox then
local f = CreateFrame("Frame", "JDoubleU00MessageBox", UIParent)
--- Whatever your heart desires to see any messages plus a close (hide) button
function f:SetText(text)
-- Depends on your frame setup above how the text is "set"
end
end
JDoubleU00MessageBox:SetText(text)
if not JDoubleU00MessageBox:IsShown() then
JDoubleU00MessageBox:Show()
end
end
if JWFav == 0 then
ShowMessage("You do not have any mounts selected as a favorite.")
end