os.startTimer

From ComputerCraft Wiki
Revision as of 08:42, 12 July 2012 by Pinkishu (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=os.startTimer |args=float time |api=os |returns=table timerID |addon=ComputerCraft |desc=Adds a timer which will fire...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 a table which acts as a unique ID for the timer.
Syntax os.startTimer(float time)
Returns table timerID
Part of ComputerCraft
API os