Let's imagine that the player wants to name his character Markus, so I'll do this
Code: Select all
$ mc = renpy.input(What will be your name (Default name will be MC))
$ mc = mc.strip()
Now, let's imagine that the player writes markus or mARKUS instead of Markus. Is it possible to force the name to be Markus?
Also, as another example, let's say that there is a character named Clementine and the player has to manually write (not define, only write) her name, so I'll do this
Code: Select all
if name == Clementine
#Right answer
else
#Wrong answer
Now let's imagine again that the player writes clementine or CLEMENTINE or cleMENTine or CLEMENtine (I'm making it absurd to make it clear). Is it possible to make the game recognize that the word introduced is still Clementine? I found about flags like and !cl would do what I need but I don't want to write [mc!cl] every time, I want to force the name to be stored in the rigth way. Thanks for reading.