Difference between revisions of "Pause"
From Wiki
(→Example 2) |
|||
Line 15: | Line 15: | ||
<pre> | <pre> | ||
sub somesub | sub somesub | ||
+ | ; If we are debugging, pause script execution here to check current variables. | ||
if %debug | if %debug | ||
pause | pause |
Revision as of 10:53, 3 August 2007
Synopsis
pause
Description
The pause command will stop execution of the current script, but it can be resumed by pressing the "Play" button.
Example 1
finditem * C_ , #backpackid if #findkind = 1 { display ok The script is currently paused. press the EasyUO play button to restart. pause }
Example 2
sub somesub ; If we are debugging, pause script execution here to check current variables. if %debug pause set %something %1 return %something
See also
Main Page | Documentation |