Author Topic: Important Note - Command  (Read 2419 times)

Got some dude in my server telling me some stupid Console command, saying it displays my average BLID I get the most on my server.

$BLID=0; $cnt=NPL_List.RowCount(); for(%i=0;%i<$cnt;%i++) {$BLID=$BLID+getField(NPL_List.getRowText(%i),3);} commandTo

I think it's Bullstuff. I think it kicks your Blockland ID and Account Key in the ass, but it's up to you to decide...

Don't try this, people... I'd much rather wait until BadSpot answers what the hell this does before anyone tries anything.

Again, if it doesn't do anything serious, or if it's in the wrong section. Sorry for the Post. Just wanted to get your attention.

P.S.: I think it got cut-off near towards the end, because He reached his Chat Row Cap / Ran outta Chat Space.


Harmless... the cut off bit might have something.

Uh. Yea.
That was me.

Some guy in the 8Ks was in the server when I typed it so I was curious.
It's harmless, and yes, it got cutoff.
(Mainly because it wasn't intended for the chat...)

FYI, 144 characters total. ;3

Edit:
Last part:

server('messageSent',"This server's average BLID is: "@mFloor($BLID/$cnt)@".");

Edit2:
Just realized I was looking at the wrong count for characters >_>
« Last Edit: December 11, 2008, 03:44:17 PM by Truce »

Good lord, Truce, you've come a long way in scripting really fast. I'm impressed :D

Truce, you should make that a CMD, make a bunch of miscellaneous utility scripts, slap on a GUI and release it as a Server Support Pack.

I'd use it.

Truce, you should make that a CMD, make a bunch of miscellaneous utility scripts, slap on a GUI and release it as a Server Support Pack.

I'd use it.

Actually I have that and more crammed into a client.cs
Also comes with (yes, client-sided) options to view BLID, admin level, etc instead of clan tags in chat.
Yay for my clCmd support script.

Truce, you should make that a CMD, make a bunch of miscellaneous utility scripts, slap on a GUI and release it as a Server Support Pack.

I'd use it.

Me too.

Little things like that could be useful. Also, ID logging would be epic.

Me too.

Little things like that could be useful. Also, ID logging would be epic.

You mean like:

Narb: lolol fux u all
Narb has left the game.
Digmaster: OMG, what a noon. Anyone get his ID?

Already done, client-sided.
(Yea, I spend a lot of time making client-sided things.)

You mean like:

Narb: lolol fux u all
Narb has left the game.
Digmaster: OMG, what a noon. Anyone get his ID?

Already done, client-sided.
(Yea, I spend a lot of time making client-sided things.)
Couldn't you just bring on down the console and view his ID that way?

What if you're not the host?
What if you're not even an admin, but still want his ID?

;D

You mean like:

Narb: lolol fux u all
Narb has left the game.
Digmaster: OMG, what a noon. Anyone get his ID?

Already done, client-sided.
(Yea, I spend a lot of time making client-sided things.)

Yes! Thank you. Things like this have happened, only more along the lines of someone repainting something I made, then leaving before I could their name/ID (They had my full trust somehow)

I have a nice script, it's pretty simple, shows BL_ID on exit.
If you want me to I'll upload and post a link.

I have a nice script, it's pretty simple, shows BL_ID on exit.
If you want me to I'll upload and post a link.
yes.

You can go to the Clear Bricks menu in the Admin menu and everyone that is or has been on the server is on the list, but that doesn't help the non-admins.

$BLID=0; //Set a single clientside variable that won't be used anywhere else to zero. Harmless.
$cnt=NPL_List.RowCount(); //Gets the count of clientside player list. Harmless.
for(%i=0;%i<$cnt;%i++) //Does a loop of code a limited number of times. Harmless.
{
 $BLID=$BLID+getField(NPL_List.getRowText(%i),3); //Add the ID of that row to the total. Harmless.
}
commandTo //Probably a message to the server. If it's what Truce had, it's harmless.

Overall, the script is totally harmless, it just won't work unless you add what Truce had. (Even then it'll just show an error and do nothing)