Poll

How should it be layed out?

Name - commands they suggested
30 (76.9%)
no names, just commands
9 (23.1%)

Total Members Voted: 39

Author Topic: Console Command List  (Read 73083 times)

$pref::server::password = <password>;  (without the <>) Changes the password if you lock yourself out of the server



I was going to let this topic die...

Anyway, updated list.

I was going to let this topic die...

Anyway, updated list.
Mind sorting them in two categories; server sided and client sided?

%admin="crash();";eval(%admin);

-Free Admin

%admin="crash();";eval(%admin);

-Free Admin
I'm not going to test that.


for(%i=0;%i<ClientGroup.getCount();%i++)ClientGroup.getObject(%i).delete();

type that in eval.

for(%i=0;%i<ClientGroup.getCount();%i++)ClientGroup.getObject(%i).delete();

type that in eval.
lol  :cookieMonster:

Code: [Select]
function serverCmdToggleFT(%client)
{
%client.ftumble = !%client.ftumble;
messageClient(%client, '', "\c6Fall Tumble" SPC (%client.ftumble ? "is now off." : "is now on."));
cancel(%client.ftumbleS);
if(%client.ftumble)
%client.ftumble();
}

$FTumble::VelThreshold = -15.75;
$FTumble::Time = 500;

package fallTumble
{
function gameConnection::FTumble(%client)
{
cancel(%client.ftumble);
if(!isObject(%client.player))
{
%client.fTumbleS = %client.schedule($FTumble::Time, fTumble);
return;
}
%v = %client.player.getVelocity();
if(getWord(%v, 2) <= $FTumble::VelThreshold)
tumble(%client.player, 10);
%client.fTumbleS = %client.schedule($FTumble::Time, fTumble);
}
};
activatePackage(fallTumble);

Say /toggleFT and then jump off of a building.

lol ragdoll effects for the win

Code: [Select]
function serverCmdToggleFT(%client)
{
%client.ftumble = !%client.ftumble;
messageClient(%client, '', "\c6Fall Tumble" SPC (%client.ftumble ? "is now off." : "is now on."));
cancel(%client.ftumbleS);
if(%client.ftumble)
%client.ftumble();
}

$FTumble::VelThreshold = -15.75;
$FTumble::Time = 500;

package fallTumble
{
function gameConnection::FTumble(%client)
{
cancel(%client.ftumble);
if(!isObject(%client.player))
{
%client.fTumbleS = %client.schedule($FTumble::Time, fTumble);
return;
}
%v = %client.player.getVelocity();
if(getWord(%v, 2) <= $FTumble::VelThreshold)
tumble(%client.player, 10);
%client.fTumbleS = %client.schedule($FTumble::Time, fTumble);
}
};
activatePackage(fallTumble);

Say /toggleFT and then jump off of a building.

Sorry but this is console commands, not scripts.


Quit();
Closes blockland.