[skip|else] if [not]|while [not]| = Possible 'conditional' statements that can be used
<RetVar> = variable where the requested information is put
<RefObj> = The object you want to check
Returns [TRUE] if <RefObj> exists and null otherwise. This should be widely used in scripts, it's not because an object exists at the beginning of your script that it will still be around at the middle or the end.
Example
- if $ship -> exists
| $ship -> set homebase to $station
end
Command Location:
- »» General Object Commands
<RetVar/IF><RefObj> exists