User Tools

Site Tools


4rpl:commands:stopconsole

Index

StopConsole

StopConsole

Description

Stops execution of a script, if the script is running in the console. Same as pressing the stop button on a script in the console. Has no effect on scripts not in the console. Note that the execution of the script does not stop immediately, but after the current script invocation has completed.

Examples

if (GetUnitUpdateCount gte (60))
   StopConsole
   return
endif

Index

4rpl/commands/stopconsole.txt · Last modified: 2021/01/08 11:01 by 127.0.0.1