MZ Remove "Always Dash" from the Options menu

I'm not using Dash at all. I'd like to remove it from the options menu, how do I do that?
Copy the following into a text file and name it with a .js extension, then put it in your plugins folder.

Note - this overwrites a method, as it can't be aliased, so if you see issues with other things in the Options menu not working properly, maybe move this one to the top of your plugin list.

Code:
Window_Options.prototype.addGeneralOptions = function() {
    // this.addCommand(TextManager.alwaysDash, "alwaysDash");
    this.addCommand(TextManager.commandRemember, "commandRemember");
    this.addCommand(TextManager.touchUI, "touchUI");
};
In case you're interested, I have a plugin that does this by aliasing the window's addCommand method instead. It's Cae_MenuDisplayOpts: you can find the "Hide Options" parameter and add alwaysDash to the list (case-sensitive). 🙂

That said, I don't think the difference in approaches matters much here...if you only want this particular feature I'd recommend going with Shaz's suggestion~
In case you're interested, I have a plugin that does this by aliasing the window's addCommand method instead. It's Cae_MenuDisplayOpts: you can find the "Hide Options" parameter and add alwaysDash to the list (case-sensitive). 🙂

That said, I don't think the difference in approaches matters much here...if you only want this particular feature I'd recommend going with Shaz's suggestion~
Makes sense, you could alias the addCommand function and just return if you receive the 'alwaysDash' command, then just call super for other commands.
@Shaz
Sorry for my somewhat delayed answer (got quite heavily "side" tracked) but thank you, worked like a charm. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/remove-always-dash-from-the-options-menu.127865/