~~NOTOC~~ <=[[4rpl:start| 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 <=[[4rpl:start| Index]]