Difference between revisions of "Os.sleep"
From ComputerCraft Wiki
(Created page with "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) n...") |
|||
Line 6: | Line 6: | ||
nothing will happen, as there are no in-game ticks between such actions. | nothing will happen, as there are no in-game ticks between such actions. | ||
− | Args: ( | + | Args: (num) seconds. |
− | + | In lua there is no int or double its just numbers. |
Revision as of 05:10, 19 April 2012
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.