Helpful Tips for Event Handlers

It is best to put all event handlers in one file, or a small number of files with names like "event-some­thing.em". That way, you can easily remove those files from the project to effectively turn off the handlers.

Global variables are useful for adding counters, and maintaining state between events. See: Global Variables.