MultiScript

This command runs all of the script files specified in the script_list parameter, one after the other. If the script_list parameter is empty, this command just returns immediately.

Syntax

MultiScript script_list, command_line, delimiter

Synonyms

MT

Parameters

The following table describes the parameters of the MultiScript command:

Parameter Description
script_list List of the script file names to be run
command_line The command line that will be passed to each of the scripts
delimiter A single character delimiter that is used to separate the script file names; defaults to the pipe character "|"

Examples

The following example runs two of the example scripts.

MultiScript "example\script\effect.wis|example\script\display"

The following example reruns all of the load scripts for this session.

MultiScript Get(LoadScript)

Version

4.1.1 Original