currently i have a mouseover tooltip in mt datatext that shows me my currents relms charators total gold.
Code:
local totalGold = 0
GameTooltip:AddLine("Character's: ")
local thisRealmList = BasicDB.Currency[myPlayerRealm];
for k,v in pairs(thisRealmList) do
GameTooltip:AddDoubleLine(k, formatMoney(v), 1, 1, 1, 1, 1, 1)
totalGold=totalGold+v;
end
Which Gives me this return:
I have both Horde and Alliance I would like to see how much gold i have on each faction beings you cannot send gold to other factions.
Any help would be great.
P.S. If you need more code my whole addon is on GitHub
Here. And this is in the Datatext.lua file under bags.
Thanks
Coke