When experimenting in Minecraft I usually create a large flat area to work on using WorldEdit.
However, this usually results in a crash or big freeze.
I'm going to make a script that can take a large clear-out job and split it into lots of smaller ones and give the game time to recover. It doesn't look too hard to make this, but if I have to re-type the command and the arguments each time its going to be a hassle.
I need a variable that can persist past the execution of the script so I can do a "/next" type thing to go to the next job.
I've had a look through the api reference, but I can't see anything regarding preferences or settings or something I can use. Anyone got any ideas?