I'll get right down to it:
Scriptname MyScript extends GameEvent ThisIsTotalCrap() ;Do SomethingEndEvent
This compiles without a single complaint even though it's patently obvious the Game.psc script has nothing associated with this.
Why did this even come up, you might ask? The http://www.creationkit.com/OnReset_-_ObjectReference page has some information that is contradictory - saying in one line that Quests and Aliases receive this event - while on the very next, claiming they don't.
After checking Quest.psc and Alias.psc, sure enough, OnReset() is not listed as a valid event there. Only in ObjectReference.psc.
Am I missing something here? How is the compiler not realizing these aren't valid events? Especially the obviously bogus one I just wrote.
In any case, that wiki page needs updating but I didn't want to do so before this got sorted out.