Thread: bXP Error
View Single Post
11-06-14, 07:23 AM   #6
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
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.
  Reply With Quote