Os.sleep

From ComputerCraft Wiki
Revision as of 00:45, 8 April 2012 by 83.145.64.161 (Talk) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: (Int? Decimal (Double, etc)?) seconds.

TODO: Is it an int value or a decimal value?