MV YEP Message core + JS

The plugin adds the feature of displaying character name in extra box, but if I just put the:

"\n<\C[23]\N[1]\C>Hello."

That I usually placed in the message box in the JS code like:
$gameMessage.add("\n<\C[23]\N[1]\C>Hello.");

It doesn't work. I haven't found any instructions on working with this plugin using the script. My goal is to show all messages like this one "\n<\C[23]\N[1]\C>Hello." using the script instead of default message option.
A string is not the same as the textbox.

the problem is that a string handles the escape differently than a direct processing of the textbox.
If I remember correctly you need to replace all \ with a \\ if used in a string before processing, but there is probably something else before it works.
A string is not the same as the textbox.

the problem is that a string handles the escape differently than a direct processing of the textbox.
If I remember correctly you need to replace all \ with a \\ if used in a string before processing, but there is probably something else before it works.
Alright, that was fairly easy, thank you. At first glance everything is working fine, but if I find any problem, I'll come back here.

Original thread: https://forums.rpgmakerweb.com/threads/yep-message-core-js.147978/