os.sleep
From ComputerCraft Wiki
Revision as of 07:35, 30 May 2012 by Pinkishu (Talk | contribs) (moved Os.sleep( timeout ) to Os.sleep)
Function os.sleep | |
Pauses the computer for a number of seconds | |
Syntax | os.sleep(timeout) |
Returns | nil |
Part of | ComputerCraft |
API | os |
Examples
Example | |
Pause for 3 seconds | |
Code |
os.sleep( 3 ) |
You can also just use sleep( timeout )