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.
name = renpy.input("What's your name?")
name = name.strip() or "You"
d "Oh, [name], what a wonderful name! I'm Domrick, by the way."
i have this, but every time i try to run it, im told that the last line there has 'invalid syntax'. what does that mean, and how can i fix it?
thank you so much for anyone who can helpl! im super frustrated i got defeated so easily, but ive never coded anything before and its all new to me
EDIT: okay for some reason it didnt indent where i indented, but the three lines after 'python' are in fact indented, though just once. in case thats relevant
- Per K Grok
- Posts: 278
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls
- Projects: Defenders of Adacan
- Deviantart: pekj
- itch: per-k-grok
- Location: Sverige
Code: Select all
python: name = renpy.input("What's your name?") name = name.strip() or "You" d "Oh, [name], what a wonderful name! I'm Domrick, by the way."