|Level of Understanding||Beginner|
- WaitScript <filename> [parameters to main function ...]
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.
- WaitScript MyScript
- WaitScript MyScript 1.25 "bonefish"