Difference between revisions of "Os.setAlarm"

From ComputerCraft Wiki
Jump to: navigation, search
m (Updated references from "os" to "OS")
m (Table -> Table (type))
Line 4: Line 4:
 
  |args=[[float (type)|float]] time
 
  |args=[[float (type)|float]] time
 
  |api=OS
 
  |api=OS
  |returns=[[table]] alarmID
+
  |returns=[[Table_(type)|Table]] alarmID
 
  |addon=ComputerCraft
 
  |addon=ComputerCraft
 
  |desc=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.
 
  |desc=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.

Revision as of 18:46, 30 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