Condition_IsSeized
Description
Checks whether the target object has been seized due to a utility bill flow (e.g., water cutoff, electricity cutoff, or general seizure). If S1 is specified, checks for that specific seizure state; otherwise checks for any of: Seizure, WaterCutoff, ElectricityCutoff.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object to be evaluated |
| CompareType | Equal (object is seized) / NotEqual (object is not seized) |
| S1 | Optional: specific seizure state to check. If omitted, checks for any of: Seizure, WaterCutoff, ElectricityCutoff |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if the object is in WaterCutoff state | Target | IsSeized | Equal | WaterCutoff |
| Check if the object is in any seizure state | Target | IsSeized | Equal | |
| Check if the object is not electrically cut off | Target | IsSeized | NotEqual | ElectricityCutoff |
Back to Command FinderSearch and filter all 491 Script Condition documents