Download the lite-c workshop from the 'Downloads' page, that will give you a good understanding into lite-c scripting.