>_<
http://www.youtube.com/watch?v=wOKK8mAkiUI
edit: Welll, no, it still doesn't work quite right.
Code:
/script function CurrencyText() local name, currentAmount,_,_,_,totalMax = GetCurrencyInfo(396) return string.format("%0.0f%% | %s / %s", (currentAmount/totalMax)*100, currentAmount, totalMax); end currencytext = CurrencyText(); print(currencytext)
It was returning
400,000 as my honor cap, instead of 4000. Sooo, I tried a few other currencies: conquest returns 0, justice returns 400,000, etc.. c.c Maybe it only works on a few currencies?