MV Yep Extended Message Sounds Edit

I'd like to modify Yanfly's Extended Message Pack 1 to exclude punctuation from playing sound effects. I've tried snippets that should work but they just don't.

I have searched to see if this has already been done, but the site is still blocking Google from crawling it and the built in search isn't that great :-/

Thanks in advance!
Show what you've done and maybe someone can correct it.
Doesn't it work if you check that if the character at the textstate index or whatever it is isn't one of those punctuation characters? Then don't decrease the _soundCount
Show what you've done and maybe someone can correct it.
Doesn't it work if you check that if the character at the textstate index or whatever it is isn't one of those punctuation characters? Then don't decrease the _soundCount
So far I've tried a bunch of things based off this and it doesn't throw an error in the console, but it also doesn't exclude those characters from making a sound.

if (text !== ' ' && text !== '.' && text !== ',') {
SoundManager.playMessageSound();
}
But in the updateMessage method that Yanfly modifies. You should check the textstate index and based on that modify the _soundCount. I think the reference would be like:
this._textState.text[this._textState.index]
Not 100% sure though.
But in the updateMessage method that Yanfly modifies. You should check the textstate index and based on that modify the _soundCount. I think the reference would be like:
this._textState.text[this._textState.index]
Not 100% sure though.
I appreciate the reply but I think this is just too far over my head lol. I think I need someone who has the plugin to take a look at it and I bet they'll be able to find it quickly and write a snippet or modification.

Original thread: https://forums.rpgmakerweb.com/threads/yep-extended-message-sounds-edit.183458/