function serverCmdBrickCount(%client){ messageClient(%client, '', "\c4" @ getBrickCount() @ "\c6 / \c4" @ getBrickLimit() @ "\c6 bricks");}
Try this:Code: server.cs (4 lines)function serverCmdBrickCount(%client){ messageClient(%client, '', "\c4" @ getBrickCount() @ "\c6 / \c4" @ getBrickLimit() @ "\c6 bricks");}
that will give a percentage which the OP didn't want (he used . as the radix or w/e as is done in many countries)zeblote's code would be correct
OP wants the brickcount to be divided by the bricklimit. What I put is correct.
when you type /brickcount instead of 29746 bricks it would be 29746/256000 bricks.
So I just insert this into the server.cs file?
no as in29746/256000or12419 out of 256000
Yes, put this in a new server.cs file and add a description.txt (you don't need to put anything in the description.txt) and put both of those files into a folder called Script_NewBrickCount in your add-ons folder. You can zip this folder, but it's not necessary. After that, you will be able to select Script_NewBrickCount as an add-on.
I believe I have done this wrong since it not showing up in-game. I did exactly as you have instructed yet it does not show up, is there a reason for this?
What exactly did you do?
You probably have a folder inside the zip or somethingJust skip the zip file, it's only necessary if you want to release itMake folder in add-ons folder titled "Script_Whatever"Put server.cs and description.txt in that folder