Help with rich text on script

I dont know how it works, I’ve read the thread but I just dont know how. I’m really dumb.