The above is by no means a complete representation of the structure of KAG modding. If you want more information I have written a tutorial here: [tutorial link... when I finish it]. It will help you understand more about Angelscript and script structure.