Implementing EventScriptParser.