Hey, I've been looking for something like this for a while in the past, and there was just peaces of an actual code, so I will let you guys have mine, I made a code to regenerate cuboid regions with my own wand, so now you can see how to do it as well. http://hastebin.com/xakupigiwi.avrasm this link contains everything.