Yeah just to clear up the confusion, the one you vaguely remember on some other server was indeed mine. (lol, "mine")This is totally unrelated to what I did and I neither endorse it nor shun it. Woulda been nice to get a shout-out though, since I was probably the direct inspiration for it.
I'm so going to check out the script in this.
%pos[0] = "10 10"; %pos[1] = "10 -10"; %pos[2] = "-10 10"; %pos[3] = "-10 -10"; for(%a = 0; %a < 4; %a++) { Dig_PlaceCement(%pos[%a] SPC 3, "brick8xCubeData"); Dig_PlaceCement(%pos[%a] SPC 7, "brick8xCubeData"); }
I know I have some inefficient code, don't complain about that for now.Code: [Select] %pos[0] = "10 10"; %pos[1] = "10 -10"; %pos[2] = "-10 10"; %pos[3] = "-10 -10"; for(%a = 0; %a < 4; %a++) { Dig_PlaceCement(%pos[%a] SPC 3, "brick8xCubeData"); Dig_PlaceCement(%pos[%a] SPC 7, "brick8xCubeData"); }
for(%i=0;%i<6;%i++) { %newPos=vectorAdd(%pos,getSubStr(" 2 0 0-2 0 0 0 2 0 0 -2 0 0 0 2 0 0 -2",%i*8,8)); if(!$MiningMod::Used[strReplace(strReplace(%newPos," ","_"),"-","N")]) MiningMod_NewBrick(%newPos);}
can't be that inefficient if a couple people thought of it
function addVariable(%orig, %increment){ if(%increment == 1) return %orig+1; if(%increment == 2) return %orig+2;}
Code: [Select]function addVariable(%orig, %increment){ if(%increment == 1) return %orig+1; if(%increment == 2) return %orig+2;}A couple of people thought of that too.
You must be using the default colorset for this to work.