What Does This Mean?

OK, so, I found this string in a few scripts, even some of the core ones, I think, and lately, I've been trying to break down scripts so I can make my own. So, pray tell, what does this mean? 


\e>\eC[6]%s\eC[0]\e<\n


I feel really really silly asking all of these scripting questions, but I'm thoroughly lost.  
Looks like a regular expression or a formatted string. Maybe if you post the context it would be clearer.
When you use the Show Text event command, you can hover your mouse over the box and see the escape codes that can be used.  \C[n] is the escape code to change the text to a different color (n is the index when referring to the windowskin text color palette).  When the scripts process the message box, the first thing they do is change any instances of \ to \e, but I'm not really sure why (the older makers did this as well).  The %s will be replaced by a string of text.  And I think \> and \< (replaced with \e> and \e< by the script) might be to turn the one-letter-at-a-time display off then back on.


So imo, that looks like something you'd find in a message box plugin that changes the color of some text.  Maybe adding a name box and showing the speaker's name in a different color (the whole word, not a letter at a time), perhaps?


It's saying:


\e> - turn off letter at a time processing


\eC[6] - change color to #6


%s - write out the text that will be inserted here


\eC[0] - change color back to #0


\e< - turn letter at a time processing back on


\n - newline
@Shaz That makes sense. Because I saw that in a Yanfly script (Victory Aftermath I think) and I thought, Um, don't think I've seen that in any of the screenshots. I think colour 6 is yellow, and I know before the victory quotes, it does display the actor name in yellow, so maybe in this case that is just the code for the actor name. 


Thank you, yet again, Shaz!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/what-does-this-mean.65664/