You can try to solve your EventScripter issue in this thread:
https://board.jdownloader.org/showthread.php?t=70525
Please keep in mind that we're not providing support for self created scripts as they are not part of JDownloader.
Your issue is not related to JD either - you're simply trying to use a syntax-buggy script.
-psp-