Os.sleep

From ComputerCraft Wiki
Revision as of 05:10, 19 April 2012 by 24.24.175.109 (Talk)

Jump to: navigation, search

Causes the computer to sleep for a number of seconds. This is useful in unexpected ways, as if you try to send a pulse of redstone with:

rs([side], true) rs([side], false)

nothing will happen, as there are no in-game ticks between such actions.

Args: (num) seconds.

In lua there is no int or double its just numbers.