<RetVar> = A variable where the requested information is stored.
<Var/Sector> = A sector or a variable containing it.
<Var/Number> = A non-negative integer or a variable containing it.
<Var/Race> = A race, a variable containing it or 'null'.
Returns a random sector owned by the as <Var/Race> selected race not more than <Var/Number> jumps away from the as <Var/Sector> selected sector. Entering 'null' as owner race will return a sector of a random race.
Note that the returned sector can also be the starting sector.
Example:
$sector = get sector from universe index: x=1, y=3
$random.sector = find a random sector: startsector=$sector, jumps=12, owner=Argon
write to player logbook $random.sector
return null
This gets a random Argon sector not more than 12 jumps away from Argon Prime and writes it to the logbook.
Related Commands:
<RetVar> = find a random sector: startsector=<Var/Sector>, jumps=<Var/Number>, owner=<Var/Race>, security level=<Var/Number>
Command Location:
- »» Universe and Sector Commands
<RetVar/IF><RefObj> find all sectors within <RetVar> = find a random sector: startsector=<Var/Sector>, jumps=<Var/Number>, owner=<Var/Race>