twine basics: name input
using story format: harlowe 3.3.9
so, i'm making a project for a grade in twine, and while it won't be the most complex thing in the universe, our professor set us to make sure that we don't leave any "loose ends", so when i call for (prompt: "What's your name?", ""), there's a possibility of player not putting anything in, and game still letting them continue. This leaves a problem, and after having browsed the web for about an hour, i haven't found any solution and chat gpt is very unhelpful.
[it's possible that i just don't know how to phrase my question...]
to make it clear: i want to make it so that if player doesn't input ANYTHING in the prompt bracket, the game doesn't let you continue, but without any error messages or additional passages. and once you input anything that is at least 1 character long, idk name like V (so it has to be letters, if it's possible to enforce it), it just displays the rest of the text from this particular passage.
i'm absolute dogshit at coding, so please treat me like an idiot.
Posted Jul 19, 2025, 7:49 PM UTC