-
Notifications
You must be signed in to change notification settings - Fork 0
System API
Gilberto Romero edited this page Aug 28, 2016
·
3 revisions
Restarts the computer.
Shuts the computer down.
Returns: boolean Success
Pushes an event into the event queue. Returns a boolean value, with the value being true if the event was successfully put into the queue. If the value was false, that means the queue has too many events in it as it is.
Returns: number TimerID
The value given for time is recognized as seconds. When using this function, an event will be queued once the timer has gone off, with the second argument of the event being the TimerID given to you.
This cancels a timer, preventing it from queuing an event before it has gone off.