MV How to call event command from Javascript?

I am trying to use Galv's Timed Message popup for a plugin I am writing. https://galvs-scripts.com/category/rmmv-plugins/mv-event-utility/#post-1622

Galv's plugin overwrites the "show text" command from the event editor, "
Game_Interpreter.prototype.command101". How do I call command101 from Javascript?

Thank you!
I haven't looked at Galv's Plugin, but typically Plugin writers will cache the old version of a method before overwriting it for just such occasions. Something like:
JavaScript:
Zevia.command101 = Game_Interpreter.prototype.command101;
Game_Interpreter.prototype.command101 = function() {
    // Do something besides the default
}

Such that if I wanted to call the original command101, I could do:
JavaScript:
Zevia.command101.call(interpreter); // interpreter being whatever the current
                                    // instance of Game_Interpreter is

Maybe take a look in Galv's Plugin and see if he's cached it somewhere?

If not, you could make your own modification somewhere in your own Plugin file and just make sure it loads before Galv's:
JavaScript:
Game_Interpreter.prototype.originalCommand101 = Game_Interpreter.prototype.command101;

That'll ensure that you have a reference to the original function before Galv's Plugin overwrites it, then you could call originalCommand101 instead.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-call-event-command-from-javascript.136124/