Intermediate kOS Tutorial

No pictures, just text and code. I hope it's not too dry. I haven't tested the code yet either, but it's essentially complete.
Wow.  Okay you're right that works.  I had a look through the code it creates.  It builds all the trigger blocks ahead of time ,but only enables them when the WHEN is actually executed.  So the trigger condition sits there as passive code that never gets tested the whole time until the WHEN describing their trigger first executes in the code's body, then it enables the check.  So it works.