⇐ Index
StopConsole
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.
if (GetUnitUpdateCount gte (60)) StopConsole return endif
⇐ Index