Difference between revisions of "Pause"

From Wiki
Jump to: navigation, search
 
Line 1: Line 1:
__NOTOC__
+
{{command header|Flow Control}}
== Pause ==
+
{{body|pause|The ''pause'' command will stop execution of the current script, but it can be resumed by pressing the "Play" button.
'''Flow Control'''
+
=== Synopsis ===
+
[[pause]]
+
 
+
=== Description ===
+
The [[pause]] command will stop the execution of the current script, but it can be resumed by pressing the "Play" button.
+
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
finditem SEG C_ , #backpackid
+
finditem * C_ , #backpackid
if #findkind = -1
+
if #findkind = 1
 
{
 
{
display ok Your SEG is missing!! Who will hold your keys? Press play when you find SEG.
+
display ok The script is currently paused. press the EasyUO play button to restart.
 
pause
 
pause
 
}
 
}
 
</pre>
 
</pre>
  
=== See Also ===
+
{{footer}}
{|
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Flow_Control|Flow Control]]
+
|}
+

Revision as of 10:36, 27 August 2005

{{body|pause|The pause command will stop execution of the current script, but it can be resumed by pressing the "Play" button.

Example

finditem * C_ , #backpackid
if #findkind = 1
{
	display ok The script is currently paused. press the EasyUO play button to restart.
	pause
}

See also

Main Page Documentation