Added doc/newEventsAndScriptSyntax.cpp