Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 181, in script
if $RobinRel >= 2:
SyntaxError: invalid syntax (script.rpy, line 181)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 181, in script
if $RobinRel >= 2:
File "/Users/flckl/Desktop/renpy-7.4.0-sdk/renpy/ast.py", line 1843, in execute
if renpy.python.py_eval(condition):
File "/Users/flckl/Desktop/renpy-7.4.0-sdk/renpy/python.py", line 2140, in py_eval
code = py_compile(code, 'eval')
File "/Users/flckl/Desktop/renpy-7.4.0-sdk/renpy/python.py", line 746, in py_compile
raise e
SyntaxError: invalid syntax (script.rpy, line 181)