Muggle Console

Inside of the Muggle Engine is a parser.  If you pass it a text string, it is deciphered and executed if valid.

Muggle Console Commands

Loading a File

The console load file command is simply a way to run many commands at once.  In a text file, place a command on each line.  Each command will be executed from top to bottom.  Here is an example file that creates a small tower out of boxes:

;first 5 boxes
add box 0 0 1 6 6 2
add box 0 0 3 5 5 2
add box 0 0 5 4 4 2
add box 0 0 7 3 3 2
add box 0 0 9 2 2 2
;next 5 boxes
add box 0 0 11 3 3 2
add box 0 0 13 5 5 2
add box 0 0 15 7 7 2
add box 0 0 17 9 9 2
add box 0 0 19 10 10 2
 

Muggle :)