So I asked for it before somewhere else but I'll make my own thread because I can't solve this.
I want the player to chose the text color when his/her character speaks. So I made an event which is asking this to the player then stores the answer in a variable (assigning the numbers corresponding to colors in text \C[X])
doesn't work and
is giving \CBlablabla instead of Blablabla in blue.
I thought I might look how \pg and \pog was defined to create my own function but I can't find them in the script.