That code doesn't seem to be very well written, it's leaking quite a few globals.
You'll want to replace the calls to format and formatNumber with BreakUpLargeNumbers.
You'll also want to replace IsXPUserDisabled == true with IsXPUserDisabled() (it's a function, not a boolean).
I'm not sure why the code is using format with a single numeric argument unless it used to be something other than an alias of string.format (which I don't think is the case).
Last edited by Choonstertwo : 11-06-14 at 07:25 AM.
|