Creating a script is comprised of:
If you use the startup Wizard, the wizard will guide you through many of these steps.
This section of the documentation discusses the available script nodes and linking your script nodes together.