That's strange, because it works perfectly fine for me.
I think your renpy version (win ? mac ? android ? n° of rnpy ?) doesn't understand this line in the script: "
if who is None:"
If you can't obtain a renpy version compatible with the "None" variable, then you can do that:
For Felix using "mom" instead of "your mom" it comes from the original script of molly. But I can fix this molly's line in the patch.
My Renpy version? I don't have Renpy installed. I download the games here and play.
Let's see if I understand what your code does.
For instance, the line below should replace the word Diana for Mom every time the MC speaks, right?
if who is MC:
text = text.replace("Diana", "Mom")
So the line:
MC "Did you talk to Diana Cooper?" should appear as
MC "Did you talk to Mom?"
Is that correct? If so, it's not working for me as you can see in the image below.
What I noticed is that the game only understands the command "if who is None" and is making the replacements related to it like "text = text.replace("[LAL]", "your mom")", since every sentence that has [LAL] is being replaced for "your mom", like the examples I gave before.
As for Felix's issue, I think it could be resolved by replacing [LAL] with "Diana" every time he speaks. Is that possible?
I'm not a coder, so I'm sorry if I'm talking nonsense.