The Repeat and Terminate script command enables and disables automatic script repeating. By default, scripts do not repeat. Repeat enables automatic script repeating, and Terminate disables automatic script repeating.
Syntax: | Repeat | Comment | |||
Syntax: | Terminate | Comment | |||
Example: | ![]() |
Enable the script to automatically repeat | |||
Example: | ![]() |
Disable automatic script repeat | |||
Associated command may be bound to Repeat to set the waiting time before the script starts again | |||||
Example: | ![]() |
RepeatTimer | = | 10 | Associated command to set RepeatTimer to 10 seconds |
![]() |
Enable the script to automatically repeat | ||||
If Repeat has been enabled, when the script completes the RepeatTimer fixed variable will begin counting down each second, and the script will start over when it reaches 0. |
Notes: