Need help with yanfly ace message system v1.05

I'm trying to change the color of my character's name but can't get it to work. I can do \n[x] and \c[x] .But don't know how to get them to work on the same message. I've read the script and watch the youtube videos but can't find an answer.
here is the link https://github.com/Archeia/YEARepo/blob/master/Core/Ace_Message_System.rb

I've moved this thread to RGSSx Script Support. Thank you.

You should always make a link to the scripts you are referring to so that people don't have to go searching for them, or find one that is different from what you have. (Yes some were reposted)
The color must come before other parts. in your example the \c[x] is first then the \n[x]
they can be next to each other or spaced in the message.
\c[3]\n[1]\c[0], what are you saying?
it depends on where you want to change your actor's name - the description above should work for most parts, but there are a few places where it doesn't work like that, for example in menues.

There are other solutions that would work there, but we need more details (perhaps a screenshot of where you want to change the color) before we can point you to the correct solution for that specific case.
I'm just trying to change it in the message window. Where the person talking will have his in color name above the message. Like in the pic below. bill.PNG The suggestion about didn't work.
that is the name window implemented by the message script.
Please give a link to the message script website so that we can check how that works
https://yanflychannel.wordpress.com/rmvxa/core-scripts/ace-message-system/
and
\n<\c[3]\n[1]\c[0]>
does not work for changing color there?
Yeah. That one works. Thanks. It was "the \c[x] is first then the \n[x]" that didn't have the name above the message. I forgot to say in the original post I wanted the name above it. My fault. But that one worked in the text message.
Starting at line 183 of the script is the section for settings in the name window box.
The line you're looking for is 192,
Code:
NAME_WINDOW_COLOUR = 6 # Text colour used by default for names.
That determines the color of the name displayed in the name box for every name box. So you'd change that 6 to whatever text color number you want.
If you want to have different colors for different character it's a little more complicated. You'd go down to line 689
Code:
@text = sprintf("\eC[%d]%s", YEA::MESSAGE::NAME_WINDOW_COLOUR, @text)
and tell the script to instead refer to a variable instead of a set number and then change the variable. So it would look something like
Code:
    @text = sprintf("\eC[%d]%s", $game_variables[4], @text)
And you'd change the value of variable (in my example variable 4) in your event.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-yanfly-ace-message-system-v1-05.81482/