Updated doc/newEventsAndScriptSyntax.cpp