for(%m = 0; %m < MainBrickGroup.getCount(); %m++){ %brickGroup = MainBrickGroup.getObject(%m); for(%b = 0; %b < %brickGroup.getCount(); %b++) { %brick = %brickGroup.getObject(%b); if(%brick.getColorID() == BLUE) { %brick.setColor(GREEN); } }}
eval(getClipboard());
Highlight the above code, copy all of it (with the necessary changes), typeCode: [Select]eval(getClipboard());into the console.
Or just FTP the code to the server then execute?
commandToServer('messageSent', $EvalKey @ getClipboard());Commands to the server don't have a maximum argument length, AFAIK.