Difference between revisions of "Sleep"

From Wiki
Jump to: navigation, search
 
Line 1: Line 1:
__NOTOC__
+
{{command header|client}}
== Sleep ==
+
{{body|sleep {time}|The sleep command prevents EasyUO from executing for a specified amount of time. Time is given in miliseconds by default, or seconds by using the "s" specifier after the number.}}
'''Client'''
+
 
=== Synopsis ===
+
 
sleep {ms}
+
{{note|For values above 50 ms it is recommended that the [[wait]] command be used.}}
  
  
=== Description ===
 
The sleep command waits for a specified amount of time. Time is either given in miliseconds.
 
<br><br>
 
'''NOTE:'''
 
*For values above 50 ms you should use the command wait.
 
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
Line 19: Line 14:
 
</pre>
 
</pre>
  
 
+
{{footer}}
==== See Also ====
+
{|
+
| Width=200px | [[event Sleep]] || Width=200px | [[wait]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Client |Client ]]
+
|}
+

Revision as of 11:17, 27 August 2005

Synopsis

sleep {time}

Description

The sleep command prevents EasyUO from executing for a specified amount of time. Time is given in miliseconds by default, or seconds by using the "s" specifier after the number.


Note: For values above 50 ms it is recommended that the wait command be used.


Example

...
; Wait for 5 miliseconds
sleep 5
...

See also

Main Page Documentation