Page 1 of 1

Reduce # of chips

Posted: Sun May 15, 2011 11:27 am
by Zabulus
Is there a way to mass reduce the # of chips in play by a %?

So let's say I want to reduce EVERYONE by 25%, is there an easier way to accomplish this other than going through 1 by 1 to each user?

Are the balances saved someplace

Re: Reduce # of chips

Posted: Sun May 15, 2011 12:29 pm
by Kent Briggs
Zabulus wrote:Is there a way to mass reduce the # of chips in play by a %?
So let's say I want to reduce EVERYONE by 25%, is there an easier way to accomplish this other than going through 1 by 1 to each user?
Are the balances saved someplace
The only way to do it by percentage is to write a script (i.e., PHP) that runs a loop through all the accounts using the API, fetching each balance, calculating the change, writing it back. If you had just wanted to change each balance by a fixed number of chips, you can do that directly in the server interface using the Chips menu on the Accounts tab (Increment /Decrement balance).

Re: Reduce # of chips

Posted: Sun May 15, 2011 6:40 pm
by Zabulus
ouch was afraid you'd say that.

Ok thanks