I already get headaches
Getting to understand JS is proving harder than anticipated,
for one thing all online refernces insist on doing things web-browser related,
secondly my undefined-ness in what is implemented in 1.69 and what is in the works,
thirdly there seem to be many ways to write the syntax.
fourthly I'm a fool.
Got a embryonic understanding of how things are working now though.
I kept trying to nest conditions like we do in plist scripts, the way of JS however seems to be '//do stuff' , which means generally a single condition_statement and call another function. (repeat).
-----------
about the example code you posted earlier today/lastnight
edit: just saw you doing it again in the 'J&B-coffeecorner'.
You are using the 'let' command again to initiate variables, will you upgrade to JS v1.7 in Oolite v1.70 then?