Condition_HasVisitedSite
Description
Checks whether the character has a visit record for the specified site. The condition returns true if any access record exists for the given site ID on the character. CompareType is not used; the result is a direct boolean check.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose site visit history is checked (Self or Target). |
| S1 | Site ID (Site.Id) to check for a visit record. |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Checks if Self has visited site "Park_001" | Self | HasVisitedSite | Park_001 |
| Checks if Target has visited site "Library_001" | Target | HasVisitedSite | Library_001 |
| Checks if Self has visited site "Shop_A" | Self | HasVisitedSite | Shop_A |
Back to Command FinderSearch and filter all 491 Script Condition documents