define "certain bricks"
here's something chrono sent me
This will only work for the default colorset, and YOUR bricks.
%bg=localClientConnection.brickgroup; for(%x=0;%x<%bg.getCount();%x++){%b=%bg.getObject(%x);if(%b.getColorID() == 2){%b.setColliding(0);%b.setRayCasting(0);}}
All of that on one line.
to make this delete bricks of a color
%bg=localClientConnection.brickgroup; for(%x=0;%x<%bg.getCount();%x++){%b=%bg.getObject(%x);if(%b.getColorID() == 2){%b.killBrick();}}
where the 2 is the color (green), and this is entered into the console