MV Plugin that adds an automatic pause/wait for punctuation?

I've recently purchased RPG Maker MV and so far I've been having a blast with its' features and the plugins available for it. Though I can't seem to find a plugin that adds an automatic pause after periods, commas, colons, etc.

Is there a plugin out there that allows me to do such a thing? I'm mainly asking because I don't wanna have to go back and insert \. after every single punctuation mark.
I don't wanna have to go back and insert \. after every single punctuation mark.
You could use something like Notepad++ to do a search and replace in all of the map files in your data folder.

Just take a look first to make sure you get the correct formatting for it.

A plugin would be more work, because by default special operations like pausing are only performed when escape codes are seen in the text. So that would have to be rewritten to look at every character, regardless of whether an escape code has been seen.
Something like this may work (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Automatically inserts pauses in Show Text.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/170379/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function() {
'use strict';
  /** Characters after which a pause should occur. */
  const PAUSE = Object.freeze([".", ",", ":", ";", "!", "?"]);

  /** Generated regular expression, for matching. */
  const RX = new RegExp(PAUSE.reduce(function(a, c, n) {
    return a + (n ? "|" : "") + "\\" + c;
  }, ""), "gi");

  /** String replacer function. */
  const F = function(m) { return m + "\x1b."; };

  // Patch - add process codes after relevant sequences.
  const alias = Window_Message.prototype.convertEscapeCharacters;
  Window_Message.prototype.convertEscapeCharacters = function(text) {
    return alias.apply(this, arguments).replace(RX, F);
  };

})();
@caethyril Does that expression look specifically for non-grouped characters? Or would it, say, insert a pause for each period in an ellipses?

It's also the OP's responsibility, of course, to know if there are any non-pausing instances of periods, such as abbreviating Mr. or stuff like that.
Does that expression look specifically for non-grouped characters?
No, but it probably should. The generated regular expression is:
JavaScript:
/\.|\,|\:|\;|\!|\?/gi
I.e. one of those six marks as a literal character match. It'd be possible to rewrite the expression if needed. For example, I realise now that what I suggested would probably conflict with existing \. and \! text codes. That could be addressed using a negative look-behind assertion:
JavaScript:
const RX = /(?<![\x1b])(\.|\,|\:|\;|\!|\?)/gi
Which I think could be built from the PAUSE array like this:
JavaScript:
  const RX = new RegExp("(?<![\\x1b])" + PAUSE.reduce(function(a, c, n) {
    return a + (n ? "|" : "") + "\\" + c;
  }, "(") + ")", "gi");
I.e. "don't match any of these characters if the previous character is \x1b (ESC)".

Or would it, say, insert a pause for each period in an ellipses?
Yep. Personally I prefer 3 pauses for an ellipsis, but that's subjective. I believe a negative look-ahead could be added specifically for ., e.g.
JavaScript:
const RX = /(?>![\x1b])(\.(?!\.)|\,|\:|\;|\!|\?)/gi
I.e. ". if it's not followed by another .; or ,; or :; etc".
That could be addressed using a negative look-behind assertion:
I just hate how my butt looks in these shorts!
mishji has one on Autopause punctionas it's more extended than caethyril
as has .3 second to 1 second, but I have not test the plugin, but you can
alter the time inside the plugin though, you have to play around on it.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-that-adds-an-automatic-pause-wait-for-punctuation.170379/