[skip|else] if [not]|while [not]| = Possible 'conditional' statements that can be used, however they have no practical use
<RetVar> = variable where the requested information is put
<RefObj> = The object you want to check
Returns the sector <RefObj> is in. If <RefObj> is invalid or doesn't exist, it will return null.
Alternatively, when the script is running on the object you want to check you can use the [SECTOR] constant.
- $sector = $ship -> get sector
- »» General Object Commands
<RetVar><RefObj> get sector