The purpose of $event is to be used within an Alias called from an Event. The idea is that a common Alias can share the same code for multiple Events, but with minor differences depending on the type of Event calling the Alias.

It's also useful in debugging purposes to track down an error and which Event is responsible for it.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!