What no :c
I couldn't debug mine :(
Even though contest is over and it doesn't work i'll post for heck of it k
I fixed it up since last time but didn't test cause i'm lazy at the moment, but if anyone can, please spot my errors thanks
function b(%p,%t)
{
if(%t!=0)
{
%n="b"@%t;
new aiplayer(%n)
{
datablock=playerstandardarmor;
position=%p;
};
%x=getword(%p,0);
%y=getword(%p,1);
%z=getword(%p,2);
%p=%x@SPC@%y+3@SPC@%z;
%t--;
b(%p,%t);
}
}
function servercmdbbw(%c,%h,%w,%ps)
{
if(isObject(%c.player))
{
if(%w!=0)
{
%pl=%c.player;
if(%ps="")
{
%ps=%pl.getposition();
}
if(%h=="" && %w=="")
{
$ay=%h;
$az=%w;
}
%x=getword(%ps,0);
%y=getword(%ps,1);
%z=getword(%ps,2);
%p=%x+4@%y SPC %z;
b(%p,%h);
%w--;
%p=%x SPC @%y SPC %z+4;
servercmdbbp(%c,%h,%w,%p);
}
%total=$az*$ay;
echo("Cube Finished with "@%total@" bot(s).");
}
echo("omgnoob");
}
its under 1024 bytes yay
Makes (or should make) a wall of bots infront of you with the given height (%h) and width (%w) of bots you want, just leave the position (%ps) var blank when typing the command.