All server commands (that you type like: /clearbricks) are prefixed with ServerCmd. So if you want a command to be called /beQuake then the code will look like:
function serverCmdBeQuake(%client)
{
//define the player object
%player = %client.player;
//check if the player exists
if(isObject(%player))
{
//change the player to the quake player
%player.changeDatablock(PlayerQuakeArmor);
//message the client
messageClient(%client,'',"\c6You are now the Quake player!");
}
}
Now when you type /beQuake it will attempt to turn you into the quake player.