Auto-Text System For VX Ace

I'd like a VX ace script for an auto text system similar to what they have in visual novels. The player should be able to set and stop the autoplay anytime during a dialog, and if possible set the speed.

I looked everywhere but I didn't see any script like this. Can anyone help me?

Thanks.
Please define which engine this is for? XP / VX / VXAce / MV.
You don't seem to have a preferred engine set. And it would help to have this information in both title description and the first post.

I take it you mean you wish the following?
(1) Letter by Letter options (rather than all the text flashing at the same time).
(2) Letter by Letter option converts to 'all text' on player input to speed game along.

Other options such as speed control and so forth are usually considered when making these features. ^_^
Oh, I sorry. It's for VX Ace. And yes, "letter by letter" and "All Text" as features would be good. But I'm really more interested in the automatic waiting time between textboxes, and the ability to stop the auto-text (going back to vanila style, pressing a button to proceed) and resume the auto-text at anytime and the speed control of such waiting time (such speed control don't need to be done at anytime, but from an option menu, or even an evented item). The ability to control speed to text itself is good but of little importance.

Title and first post edited.
Original: https://raw.githubusercontent.com/theoallen/RGSS3/master/Free/Message Idle Trigger.rb

Code:
#===============================================================================
# Code by TheoAllen (Credit Necessary) + Edit by TV.Ghost (Credit is Optional)
#===============================================================================

class Window_Message
#===============================================================================
# Customize the variables below, to fit your project.
#===============================================================================
  Option_Variable = 1 #Pick the Variable you can adjust the value of through
  #option menus.
#===============================================================================
# End.
#===============================================================================
  def input_pause
    waitvar = $game_variables[Option_Variable] * 60
    self.pause = true
    wait(10)
    waitvar.times do
      Fiber.yield
      break if Input.trigger?(:B) || Input.trigger?(:C)
    end
    Input.update
    self.pause = false
  end
 
end
Thanks. I will try it.
OK, I tested the script, and it works, my only problem is that I'd like to have a switch to disable the auto-text instead of just setting the variable to a very high number.

Original thread: https://forums.rpgmakerweb.com/threads/auto-text-system-for-vx-ace.106150/