Difference between revisions of "Command:RunScript"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Description == | == Description == | ||
− | Runs a script with the given filename. Any extra parameters are passed directly to the script's "main" function. | + | 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. | Fails if the script cannot be found, or is already running. Note that multiple scripts can run simultaneously. |
Revision as of 19:36, 26 February 2005
Contents
Syntax
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.