function serverCmdsetCash(%client, %n) {
if(%client.isAdmin && %n !$= mFloatLength(%n, 0) && %n <= 0) {
%client.cash += mFloatLength(%n, 2);
chatMessageAll(%client, '', "\c6%1 gained $%2 ($%3)!", %client.getPlayerName(), mFloatLength(%n, 2), %client.cash);
}
}
I didn't realize until just now that I forgot about scripts for checking if it's just numbers and how to add to a variable a specific amount simply... Argh...