Command:RunScript

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

Command Difficulty Rating
RunScript
Usage Beginner
Level of Understanding Beginner
Computer Savvy Beginner
Logic Beginer

RunScript <filename> [parameters to main function ...]

Description

Runs a script with the given filename. The extension to the file does not need to be given. Any extra parameters are passed directly to the script's "main" function.

Fails if the script cannot be found, or is already running. Note that multiple scripts can run simultaneously.

Examples

  • RunScript MyScript
  • RunScript MyScript 1.25 "bonefish"

See Also