Condition_IsSameSiteEvent
Description
Checks whether Self and the context Target are participating in the same site event. Optionally restricts the member comparison to a specific role within the event.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Must be Self. The entity whose active site event is used as reference. |
| CompareType | Equal: Target is in the same event (or role); NotEqual: Target is not. |
| S1 | Optional role ID to filter the member list. Leave empty to check all members. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self and Target are in the same site event | Self | IsSameSiteEvent | Equal |
| Check if Target is not in Self's site event | Self | IsSameSiteEvent | NotEqual |
| Check if Target is in Self's event under Role_Guard | Self | IsSameSiteEvent | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents