daily pastebin goal
77%
SHARE
TWEET

Garde +1m

a guest Oct 17th, 2015 339 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ()
  2.    
  3.     local name,_,icon,_,_,_,_,_,_,_,_,_,_,_,value=UnitBuff("player", "Garde")
  4.     if(value > 999999) then value = string.format("%.2f", value/1000000) .. "m"
  5.         return tostring (value) end
  6.     if(value > 999) and (value < 999999)  then value = math.floor(value/1000+0.5) .. "k"
  7.         return tostring (value) end
  8. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top