Hiding skill types in battle

Or, rather, I should say only showing 1 skill type in battle.

I can achieve this with plug-ins like Hime's Actor Battle Commands (http://himeworks.com/2015/12/actor-battle-commands/), but what I'm trying to accomplish is have the escape command be in the actor command window, which is impossible with Hime's plug-in.

Without Hime's plug-in, I can get the escape command to appear in the actor command window by tweaking a few lines of script in rpg_scenes and rpg_windows. But if I enable Hime's plug-in, it overrides these adjustments. So, without the plug-in, I can't figure out how to single out and show only 1 skill type. I think it has to do with either or both of these two bits of code:

rpg_windows
Spoiler
Code:
Window_ActorCommand.prototype.addSkillCommands = function() {
    var skillTypes = this._actor.addedSkillTypes();
    skillTypes.sort(function(a, b) {
        return a - b;
    });
    skillTypes.forEach(function(stypeId) {
        var name = $dataSystem.skillTypes[stypeId];
        this.addCommand(name, 'skill', true, stypeId);
    }, this);
};

and rpg_scenes
Spoiler
Code:
Scene_Battle.prototype.commandSkill = function() {
    this._skillWindow.setActor(BattleManager.actor());
    this._skillWindow.setStypeId(this._actorCommandWindow.currentExt());
    this._skillWindow.refresh();
    this._skillWindow.show();
    this._skillWindow.activate();
};

Alternatively, if I could get the escape command to work with Hime's plug-in, that'd be fantastic too, but I've just about given up on it.

Just looking for some help on this. Thanks.
You will need to make an 'alias' of the 'makeCommandList' function, otherwise it may be overwritten by other plugins. The following should allow you to put the 'Escape' command on the actor command window :

Code:
var Ossra = Ossra || {};

Ossra.Window_ActorCommand_makeCommandList = Window_ActorCommand.prototype.makeCommandList;

Window_ActorCommand.prototype.makeCommandList = function() {
  Ossra.Window_ActorCommand_makeCommandList.call(this);
  this.addCommand(TextManager.escape, 'escape', BattleManager.canEscape());
};
For use with Hime's plug-in? Yep, it adds the 'Escape' command to the actor command window. Problem is, the command doesn't do anything. Just plays the selection SE.
Whoops ... sorry about that. I forgot the second part. The following should work.

Code:
var Ossra = Ossra || {};

Ossra.Window_ActorCommand_makeCommandList = Window_ActorCommand.prototype.makeCommandList;

Window_ActorCommand.prototype.makeCommandList = function() {
  Ossra.Window_ActorCommand_makeCommandList.call(this);
  this.addCommand(TextManager.escape, 'escape', BattleManager.canEscape());
};

Ossra.Scene_Battle_createActorCommandWindow = Scene_Battle.prototype.createActorCommandWindow;

Scene_Battle.prototype.createActorCommandWindow = function() {
  Ossra.Scene_Battle_createActorCommandWindow.call(this);
  this._actorCommandWindow.setHandler('escape', this.commandEscape.bind(this));
};
Beautiful! Thanks a lot for your help! It's greatly appreciated!

Original thread: https://forums.rpgmakerweb.com/threads/hiding-skill-types-in-battle.85737/