[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = If the command is to 'return' information. If a variable is used, this command will return the station here.
<Var/Ware> = The ware you are looking for.
<Var/Number> = Only station that have the ware for this price or higher.
<Var/Number> = The minimum amount of the ware that the station has.
<Var/Number> = The maximum jump between the 'start' sector and the sector the station is in.
<Var/Sector> = Start the search from this sector.
<Var/String> = The trader involved (further investigation required for this variable)
<Value> = Any stations you don't want to include should be put into an array and put here.
This instruction is used to find stations that buy wares. The "best price depend on jumps" will consider both distance and price, the exact reasoning used is unknow at this time.
Finding a product looks for stations buying a ware – "min price" in this case means down to this price.
It will also check the station has the required space for the ware, with amount =<Var/Number>.
The distance to search can also be set with, max.jumps =<Var/Number>, this will be determined from the, startsector =<Var/Sector>.
Stations can be excluded from the search using the, exclude array =<Value>. Stations need to be entered into an array, and the array set as this <Value>.
- No example available at this time.
- »» Trade Commands
<RetVar/IF> find station: resource <Var/Ware> with best price depend on jumps: min.price=<Var/Number>, amount=<Var/Number>, max.jumps=<Var/Number>, startsector=<Var/Sector>, trader=<Var/String>, exclude array=<Value>