Bug- tricking enchant into running INSTANT causes failure
Created originally on Bitbucket by Anonymous
#!(enchant: ?Passage, (append: "(set: $remainingOxygen to $remainingOxygen - 1)" ))
The code above, when run, causes an error "cannot interpret type "dom" of null" or something like that, I can't copy text from the alert box.
I wanted a piece of code that would run every time the passage loaded, so I thought this would tack that code onto the end of every passage. I knew that enchant would only accept a changer, so I used append to sneak in the instant-type (set:). So, it tries to run the instant and fails.