os.startTimer

From ComputerCraft Wiki
Revision as of 12:47, 18 July 2013 by Cranium (Talk | contribs) (Changing int 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(float time)
Returns number timerID
Part of ComputerCraft
API OS