Skip to content

Script structure

Use the topics in this section to understand the elements that make up a script and how scripts interact with Octoplant.

  • The interface file defines how event data is passed to scripts at runtime. Octoplant creates this file automatically when it runs a script. It contains event, component, and user data that scripts use to execute their actions. For configuration files that control how scripts are called or displayed, refer to Deploy and run scripts section.
  • The script package provides the interpreter for script files and includes all commands, keywords, functions, and conditions used in Scripting.
  • The examples show how to implement common Scripting scenarios and help you understand how to combine script elements effectively.

Together, these elements define how scripts receive data, interpret commands, and perform actions in Octoplant.

For more information, refer to: