Condition_IsCalendarEventDay
Description
Checks whether the current day matches the active Calendar Event defined by the given ID.
Parameters
| Parameter | Description |
|---|
| BaseObject | Not used. Internally fixed to Self. |
| CompareType | Supported compare types: Equal, NotEqual |
| S1 | Calendar Event ID defined in the CalendarEvent data table |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Checks whether today is the Halloween event. | Self | IsCalendarEventDay | Equal | Halloween |
| Checks whether today is NOT the Halloween event. | Self | IsCalendarEventDay | NotEqual | Halloween |
| Checks whether today is the Christmas event. | Self | IsCalendarEventDay | Equal | Christmas |