Difference between revisions of "Os.setAlarm"
From ComputerCraft Wiki
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=[[ | + | |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
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 |