Further Reading on Scripting
Link to further-reading-on-scripting
The Programming language that CraftTweaker uses allows you to make pretty advanced scripts by using arrays, loops and declaring new classes.
All of the documentation on ZenCode can be found under the ZenCode category here