Pause

From Wiki
Revision as of 11:53, 3 August 2007 by 65.32.162.67 (Talk) (Example 2)

Jump to: navigation, search

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