Difference between revisions of "Os.setAlarm"

From ComputerCraft Wiki
Jump to: navigation, search
(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 ...")
 
m (Moved to CAT:LuaCoreFunctions)
Line 9: Line 9:
 
  |examples=
 
  |examples=
 
}}
 
}}
 +
 +
[[Category:Lua_Core_Functions]]

Revision as of 18:49, 28 November 2012


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