Event/functions, what's the main difference between them?

You can use events in a function called set timer by event.