[SOLVED] Explanations about Text Codes

Hello dear makers,
I need a little explanation about the text codes. I basically got what is it and how it work, and it's pretty simple and useful. But in the documentation I can find any clue about the parameter "index" that is required for some of them. For instance:

{N:index} | Displays the Character Name.
{C:index} | Displays the text based on the Color code specified.
{SP:index} | Plays a Sound effect during message.
{A:index} | Display an animation inside the message box.

I get that I have to put a number of reference in place of the "index", but I don't know what number to put. For {GN}, {LN} and all the commands about variables I know what to use because I can find their associated number in the list.

But first for {N}, when I put {N:0}, it display the default character name (or narrator), working as intended. But when I type {N:1} or {N:2}, it does not go downward with the list of characters and instead pick a character in the middle of the list. Is there a way to recover each characters number? Or do I have to try for each and write it down?

For the other codes ({C}, {SP}, ect...) whatever I type it seems to have absolutely no effect. Can I have an explanation of what should I put? I'm a little lost...

Thanks for your time!
For Character Name and Animations, you need to go to Debug View -> Characters/Animations -> Click on the entry you are interested in and get the UID. They usually go like "// UID=E6E0665B26F4F1430728F7692D954B694737"

to something like
{N:E6E0665B26F4F1430728F7692D954B694737}

There's probably an easier way to do Character Name/Animations without using a text macro but I'll have to wait after the holidays to ask Andre.

For Color and Sound you base it here:
upload_2017-12-24_12-7-30.png
Thank a lots for your reply!

Your solutions work like perfectly. Effectively, it would've been great to have a number beside your character's name in the editor, but for now I'm perfectly fine with your tips.

Original thread: https://forums.rpgmakerweb.com/threads/solved-explanations-about-text-codes.88833/