Thread: Warforged Seals
View Single Post
07-14-14, 11:55 AM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
You should only need something like this..
Lua Code:
  1. WarforgedSeal:SetScript("OnEvent", function(self)
  2.     local name, count, texture = GetCurrencyInfo(776)
  3.     self.obj.text = count or "0"
  4. end)
You can get the currency id from the wowhead url for it, timeless coins are 777.

Also you have a typo (presumably) with "WarforgedSeals.obj", the S on the end should likely not be there.

Last edited by semlar : 07-14-14 at 12:21 PM.
  Reply With Quote