NewCondition

This command is obsolete in Version 2.0 and no longer functions.  See AddCondition as a replacement.

Purpose

This function creates a new condition class for use with GetEvent.  This new condition can then be added to an event that uses conditions as the trigger.

Parameters

None.

Returns

Return value: condition reference
Type: object type condition
Description: This returns a reference to the new condition object.

Example

This example creates a new event, sets the event type to Condition, and then adds a condition that triggers at 3:00 PM.

NewCondition Script Example