I have the same issue as a previous poster but I haven't been able to find an answer. I am trying to use the system for multiple characters (more than 1 MC). I have it set up so that each character has a separate image for both the send and receive icons and gave them unique variables to call for each. The ONLY way the code seems to work is if I manually type the character's name. For example:
mc1_nvl = "Steve" and nvl_mc1 = Character("Steve") -- this works
mc1_nvl = "Steve" and steve = Character("Steve") and nvl_mc1 = Character("[steve]") -- this works
mc1_nvl = "[steve]" and steve = Character("Steve") and nvl_mc1 = Character("[steve]") -- this does not work
Essentially, if the name comes from a user-defined name it doesn't work. It ONLY works if the default name is used. I've tried using the variable by itself, the variable with quotes and square bracers, but nothing works. It will show the name properly but shows the default icon and always shows the receive not the send (as that's the default for unknown). The only way I can seem to get this to work is if I remove the variable names and have all names static, which isn't a good option.
Viewing post in yet another phone for renpy comments
Helloo !
I don't know if this will help you but here's how I did it.
In PhoneTexting : define MC_Name = "Me".
Then in script : define n = Character("[name]", image="mc", color="#0e7a38")
define n_nvl = Character("Me", kind=nvl, image="mc", callback=Phone_SendSound)
It doesn't mark the MC name, but it's on the sender's side.