Difference between revisions of "Command:RunScript"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 16: Line 16:
  
 
[[Category:LavishScript]]
 
[[Category:LavishScript]]
 +
[[Category:LavishScript Commands]]

Latest revision as of 23:27, 25 May 2005

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