[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = The variable where the requested information is stored. This will be an array.
<RefObj> = The object that the command is to be run on. Valid objects can be a ships.
Returns the passengers onboard the selected <RefObj> as an array.
Example:
Let's say you have two passengers onboard your ship.
$passenger.arr = [PLAYERSHIP] -> get passenger array
write to player logbook $passenger.arr
return null
This will write the names of the passengers onboard the [PLAYERSHIP] to the logbook in the format: Array ( Hayla Marval, Scot Marval )
Related Commands:
<RetVar/IF><RefObj> get marines array
Command Location:
- »» Trade Commands
- »» Passengers
<RetVar/IF><RefObj> get passenger array
- »» Passengers