RMVXA Text sound help

So I wanted to add a text sound when messages appear, similar to undertale but I'm struggling to change pitches for characters.

I've been trying with the script mentioned here:
https://forums.rpgmakerweb.com/index.php?threads/mss-text-se.3463/

but I just don't understand how to use variables. For this to work, would I need to create an event? Say like, an event where a character is speaking, then I'd give them a variable so they would sound different? Do I do this or something else? Help please. Maybe also some image examples of how to do this? Thanks.
That is a script thread. You can just ask your "how do I use it" question in that thread and the OP will help you.
oh, ok

Original thread: https://forums.rpgmakerweb.com/threads/rmvxa-text-sound-help.104047/