os.setAlarm

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function os.setAlarm
Adds an alarm which will fire an "alarm" event at the specified Minecraft world time. The returned table acts as a unique ID for the alarm.
Syntax os.setAlarm(float time)
Returns table alarmID
Part of ComputerCraft
API os