Command:WaitScript

From Lavish Software Wiki
Revision as of 23:30, 19 September 2005 by Beefalo (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Syntax

Command Difficulty Rating
WaitScript
Usage Beginner
Level of Understanding Beginner
Computer Savvy Beginner
Logic Beginer
  • WaitScript <filename> [parameters to main function ...]

Description

Pauses the current script and runs a new 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. Once the new script is finished it will resume the current script.

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

Examples

  • WaitScript MyScript
  • WaitScript MyScript 1.25 "bonefish"

See Also