This command specifies which scripts should be executed at the times specified with EVENT SET TIME START and EVENT SET TIME END. One script can be associated with each of the end points.
/as event open set script start open
/as event open set script end nightly
Unless scripts are associated with the start and end points of an event, the event will do nothing when it runs. It is unnecessary to set both, but setting at least one is essential.