os.startTimer

From ComputerCraft Wiki
Revision as of 00:05, 23 April 2013 by Viproz (Talk | contribs) (it returns an int not a table)

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 int timerID
Part of ComputerCraft
API OS