Video example:
[media]http://www.youtube.com/watch?v=WtG1zU9bhQQ[/media]



something you should know:




thats where you have to place the blocks inside the turtle´s inventory.

startmatrix [int] // values are 0 / 1 / 2 / 4 / 8 / 16 (see picture)
the value defines the different materials you will use in the following commands and tells the turtle from wich slots he can take its materials to buld the structure
startmatrix 2 // the turtle can take its material of type "1" from its slots 1-8 and type "2" from its slots 9 - 16 … as like you can see above
matrix 111111 // this will let the turtle set 6 blocks of material "1" in row
matrix 222222 // this will let the turtle set 6 blocks of material "2" in row
matrix 121212 // you can also mix it like that

Don´t do different length like this:
matrix 1111
matrix 11111
matrix 1 // dont use more than 1 white-space !

Do like this:
matrix 11110 // always use the same length !
matrix 11111
matrix 00010 // fill up with "0" until length is equal !

newlayer [string] // this tells the turtle to begin the next layer if you what to give the layer a label then you can do like that:
newlayer top // to start at this layer just enter the label name at the end of the commands-file

you can set comments in you commands-file like this:
– your comments … always two of this "-" followed by a white-space!

example structures/commands-files:
http://pastebin.com/uW3z083m
http://pastebin.com/sqrYY7gU
http://pastebin.com/Qte8UWMD

the jassens slave script:
http://pastebin.com/SVY1AD0R

the jassens commander (only if you want wireless mode):
http://pastebin.com/PU7Pngg3

additional comments:
- this is my first lua code ever and my first turtle-script ever … that means:
- a lots of crap-code
- far away from perfect
- too lazy to improve and remove debugging or german comments
- feel free to improve, but please re-post then. thx !