from the error code:
Error running script: Error compiling expression 'RandomResult7': SyntaxError: Unexpected character: {Line: 1, Column: 1
it looks like you got a simple typo mistake:
if we made a text doc an 'yx' grid:
'lines' = y axis (vertical coordinate)
'columns' = x axis (horizontal coordinate)
so for the script block in question, find 'line1' and 'column1', as this is where your typo is at
column
123456
qwerty:1 line
asdfgh:2 line
zxcvbn:3 line
so...
line1, column1 = q
line2, column1 = a
line3, column1 = z
line2, column3 = d
line3, column6 = n
though, it can be more complicated, as you can forgot a character~symbol (typo mistake) else where, which causes an error also at other locations too (your error codes), so you may need to find the source typo error (which is not mentioned as an error code), causing the rest of the code below+right of it to be shifted, and thus the 'qausi false positive' error codes. (this won't make sense to you, unless you already understand coding... laughs, so just ignore this if you don't understand it).
------------
I highly recommend this text software to everyone:
notepad++ (
http://notepad-plus-plus.org/ )
as if you copy and paste (or just write~type) code into it (or you just open your quest game file with notepad++), it'll color code it and also give the yx coordinates for where you got your pointer cursor at in the text, for easier reading, writing~typing, and trouble shooting.
for quest, at the top of the notepad++ screen (after you downloaded, installed, and opened it up), under 'languages', choose 'XML' (eXtensible Markup Language).