create

Top  Previous  Next

Creates a new scheduler object.

Definition

scheduler = scheduler.create( eventstring, eventdevice, keepBeyondLua )

Name

Type

Description

scheduler

Scheduler Object

The newly created scheduler object

eventstring

string

The eventstring to trigger

eventdevice

number

The event device number.

keepBeyondLua

boolean

Set this to true if this scheduler should persist beyond a lua reset.

Example

local s = scheduler.create( "hello", 18, true )

Availability

Lua