Redirect to:
Template:XBMC wiki toc Inline
How to work with Scripts is covered in more detail in the Advanced Topics/Add-ons/Install Scripts.