I got there in the end, but only when my brain had fully embraced the wrongthink.
All hail the David Lynch of Puzzlescript :)
That's quite the comparison, thank you! :)