Author Topic: Farlands - May cause external bleeding  (Read 9642 times)

Code: [Select]
//Made by Johnny Blockhead
package FarlandTeleporter
{
function servercmdFarlands(%client, %player)
{
if(isObject(%client.player))
{
messageClient(%client,'',"<color:FFFFFF>Don't vomit, okay?");
%client.player.setTransform("999999, 0, 0");
}
}

function servercmdDeepFarlands(%client, %player)
{
if(isObject(%client.player))
{
messageClient(%client,'',"<color:FFFFFF>Clean up your organs after you bleed, please.");
%client.player.setTransform("9999999, 0, 0");
}
}
};
activatepackage(FarlandTeleporter);
I love it when a mods code is almost as short as its description.
Why does it have its own package?


I actually think that's good practice.

Code: [Select]
//Made by Johnny Blockhead
package FarlandTeleporter
{
function servercmdFarlands(%client, %player)
{
if(isObject(%client.player))
{
messageClient(%client,'',"<color:FFFFFF>Don't vomit, okay?");
%client.player.setTransform("999999, 0, 0");
}
}

function servercmdDeepFarlands(%client, %player)
{
if(isObject(%client.player))
{
messageClient(%client,'',"<color:FFFFFF>Clean up your organs after you bleed, please.");
%client.player.setTransform("9999999, 0, 0");
}
}
};
activatepackage(FarlandTeleporter);
I love it when a mods code is almost as short as its description.
Why does it have its own package?

it allows you to make the functions removable.

it allows you to make the functions removable.
I guess, but even if you had to remove them you can just do function servercmdfarlands(){}

I guess, but even if you had to remove them you can just do function servercmdfarlands(){}
If there are a bunch of functions, you can just deactivate the package and then all of those functions would no longer exist.

Aw no pictures

eh ill download anyways

What is this, seriously?

What is this, seriously?
it teleports you to a land where blocks turn 4D