Author Topic: Brick Count Updater  (Read 756 times)

Something that reads the servers brick count every 10 minutes or so.

Something that reads the servers brick count every 10 minutes or so.

Code: [Select]
function saybricks()
{
messageall('',$Server::BrickCount SPC "Bricks in server currently.");
schedule(60000*10,0,saybricks);
}
saybricks();
There ya go, assuming "$Server::BrickCount" is the right variable.

Code: [Select]
function saybricks()
{
messageall('',$Server::BrickCount SPC "Bricks in server currently.");
schedule(60000*10,0,saybricks);
}
saybricks();
There ya go, assuming "$Server::BrickCount" is the right variable.
How to package?


you could make it client sided

How to package?
That's the entire script, in fact, you could just type that into your console and it would work.

last time i checked, the infinite mining server uses this....

you could make it client sided
I would like it to display it for the entire server, and I've never packaged something other than a face or decal, so I don't know what to put in the .zip or what to name it.