Condition_Site
Description
Checks whether the specified BaseObject is currently located in a site. If S1 is specified, this condition checks whether the located site id matches S1.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The actor to validate (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | (Optional) Site id to compare (Site.Id). |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Checks whether self is inside any site. | Self | Site | Equal | |
| Checks whether target is NOT inside any site. | Target | Site | NotEqual | |
| Checks whether self is currently in a specific site. | Self | Site | Equal | Site_001 |
Back to Command FinderSearch and filter all 491 Script Condition documents