I'm trying to make my quest function like, I should write my character name correctly, or else it gives an error. I did it like that, but there's a missing function, it doesn't show the error case every time I write the name wrongly, I mean like it just says 'Your name is incorrect' and there's an OK button that closes quest, I can't re-open that quest from NPC or anything else because it is a set_state quest function. Here's what I'm trying to do
locale name = input()
if name = pc.get_name() then
say("Correct name!") -- first case (success)
else
say ("Your name is incorrect, type again.") -- second case (failure case)
locale name = input()
What I'm trying to do is to make the failure case repeatable, and not only be showing up once with OK button..






