Command:WaitScript
Jump to navigation
Jump to search
Contents
Syntax
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"