Originally Posted by Voopie
In haste ^-^
https://www.townlong-yak.com/framexm...ckCurrencyInfo
https://www.townlong-yak.com/framexm...etCurrencyInfo
Lua Code:
local currencyInfo; local r, g, b = 1, 1, 1; for i = 1, GetNumWatchedTokens() do currencyInfo = C_CurrencyInfo.GetBackpackCurrencyInfo(i); if currencyInfo and currencyInfo.name then if i == 1 then GameTooltip:AddLine(' '); GameTooltip:AddLine(CURRENCY .. ':'); end r, g, b = GetItemQualityColor(C_CurrencyInfo.GetCurrencyInfo(currencyInfo.currencyTypesID).quality); GameTooltip:AddDoubleLine(currencyInfo.name, currencyInfo.quantity, r, g, b, 1, 1, 1); end end
|
Thank You so much for the help. Works Great.