Author Topic: Short Server Commands  (Read 2478 times)

I am doing this right now:

>starts up bl
>bl loads main menu
>opens console
>types echo(isFunction(announce));
>presses enter
>console: 0

As far as I know you can't delete functions.
Server scripts aren't loaded until you start a server.

bump
Can anyone add atleast ONE command....
Like something that makes the player explode or turn transparent green?!

Fetcb everyone to your position (hopefully it can fit in the console):

function serverCmdFa(%this){if((%this.isSuperAdmin || %this.isAdmin) && isObject(%this.player))for(%i=0;%i<clientGroup.getCount();%i++)if(isObject(%p = clientGroup.getObject(%i).player))%p.setTransform(%this.player.position);}

Fetcb everyone to your position (hopefully it can fit in the console):

function serverCmdFa(%this){if((%this.isSuperAdmin || %this.isAdmin) && isObject(%this.player))for(%i=0;%i<clientGroup.getCount();%i++)if(isObject(%p = clientGroup.getObject(%i).player))%p.setTransform(%this.player.position);}
Ok... but that isnt yours ....
http://forum.returntoblockland.com/dlm/viewFile.php?id=4011

Ok... but that isnt yours ....
http://forum.returntoblockland.com/dlm/viewFile.php?id=4011

Because writing a short, simple, 2 minute function is rocket science.. and i desperately needed to copy jes.

if(!verifyNonsense(getNonsense()))crash();

if(!verifyNonsense(getNonsense()))crash();
...
you just combined crashing code.
function servercmdtrololol() {if(!verifyNonsense(getNonsense()))crash();}

good job...

function serverCmdvel(%client, %x, %y, %z) {findclientbyname(%client.name).player.addvelocity(%x SPC %y SPC %z);}
findclientbyname(%client.name)

any particular reason to do that as opposed to just %client

...
you just combined crashing code.
function servercmdtrololol() {if(!verifyNonsense(getNonsense()))crash();}

good job...
Funny cause that would just give power to any player in the server to crash the server.

any particular reason to do that as opposed to just %client
I cannot think of any good reason.

...
you just combined crashing code.
function servercmdtrololol() {if(!verifyNonsense(getNonsense()))crash();}

good job...

"combined"?

any particular reason to do that as opposed to just %client
NO GOD NO MAKE IT STOP

IT BURNS MY EYES

what do you mean? they work perfectly without msp
Unless you have another addon adding these commands, im calling total bullstuff.

NO GOD NO MAKE IT STOP

IT BURNS MY EYES

findClientByName(findClientByName(findClientByName(findClientByName(findClientByName(findClientByName(findLocalClient().name).name).name).name).name).name).delete();

or the famous

%client.player.client.player

%client.camera.getControllingClient().camera.getControllingObject().client.camera.getControlling Client(); ......