Repeat / Terminate

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: Repeat Enable the script to automatically repeat
Example: Terminate Disable automatic script repeat

Associated command may be bound to Repeat to set the waiting time before the script starts again

Example: Assign RepeatTimer = 10 Associated command to set RepeatTimer to 10 seconds
Repeat 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.


© 2014 ComroeStudios LLC. All Rights Reserved.