These commands set up when and how the event will run.
INTERVAL - Set how often your scripts should run
SCRIPT - Set which scripts should be run
TIME - Set when the scripts are to be run.
/as help event set <command>
This command is the core of the event system. It links the event to a script and a time at which to run it. Scripts can be useful if you want to regularly perform certain actions. For example, if you wanted to rehash your server every day at 4 AM you could write a script to rehash. Then you would set up an event to run every day. You could set the time to start at 4AM. Then the script would keep running without further maintenance.