os.startTimer

From ComputerCraft Wiki
Revision as of 14:51, 18 July 2013 by Cranium (Talk | contribs) (Changing cloat to number)

Jump to: navigation, search


Grid Redstone.png  Function os.startTimer
Adds a timer which will fire a "timer" event once after time seconds have passed. It returns an int which acts as a unique ID for the timer.
Syntax os.startTimer(number time)
Returns number timerID
Part of ComputerCraft
API OS