Difference between revisions of "Command:RunScript"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== Examples ==
 
== Examples ==
 +
*RunScript MyScript
 +
*RunScript MyScript 1.25 "bonefish"
  
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]

Revision as of 05:48, 2 April 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