You'll find quite a bit of documentation on the scripting language and how to utilize it within the Authoring Kit documentation. It's all in a wiki for easy reference, and much of the above details provided by others will be found in the wiki. Here's a link to the pertinent section within the wiki:
http://hlkitwiki.wolflair.com/index....pting_Language