Difference between revisions of "MC-Basic:SLEEP"

From SoftMC-Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{Languages}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Revision as of 06:07, 28 April 2017

Language: [[::MC-Basic:SLEEP|English]]  • [[::MC-Basic:SLEEP/zh-hans|中文(简体)‎]]

This command delays the task for a specified period of time (in milliseconds). The delay starts when the preceding command ends.

Sleep can be terminated (task is awaken) by ContinueTask command .

Syntax

Sleep

Availability

All versions

Type

Long

Range

1 to MaxLong

Scope

Task

Limitations

Write only

Examples

Sleep 100                                                    ‘Delay task for 100 msec

See Also