<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'.
<Var/Number> = An integer or 'null'.
Returns a random sector with the as <Var/Number> specified security level, owned by the as <Var/Race> selected race and 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. The returned sector will be a core sector, if the security level is greater or equal '2', a border sector if the security level is '1' or random (core or border) if the security level is less or equal '0' or 'null'.
Note that the returned sector can also be the starting sector.
$sector = get sector from universe index: x=1, y=3
$random.sector = find a random sector: startsector=$sector, jumps=12, owner=Argon, security level=2
write to player logbook $random.sector
This gets a random Argon core sector not more than 12 jumps away from Argon Prime and writes it to the logbook.
<RetVar> = find a random sector: startsector=<Var/Sector>, jumps=<Var/Number>, owner=<Var/Race>
- »» 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>, security level=<Var/Number>