Try this (untested):
In your Interface/AddOns folder, create a folder titled GoldDisplay
In this GoldDisplay folder, create a file named GoldDisplay.toc (make sure that it's not GoldDisplay.toc.txt). My editor of choice is Notepad++, but you can use any text editor. Inside this .toc file, put this text:
Code:
## Interface: 40300
## Title: GoldDisplay
## Notes: Shows how much gold you have
GoldDisplay.lua
Then create a file named GoldDisplay.lua and put this inside:
Code:
local frame = CreateFrame("Frame")
frame:SetSize(200, 25)
--you can change these values to alter where your frame is displayed
frame:SetPoint("BOTTOMLEFT", ChatFrame1, "TOPLEFT", 2, 50)
local text = frame:CreateFontString(nil, nil, "GameFontHighlight")
text:SetPoint("BOTTOMLEFT")
frame:RegisterEvent("PLAYER_LOGIN")
frame:RegisterEvent("PLAYER_MONEY")
frame:SetScript("OnEvent", function()
text:SetText(GetCoinTextureString(GetMoney()))
end)
This should show you how much money you have just above the top left of your chat frame.