Skill Scope: The User

Skills which the scope is the user.
Is it possible to cast them straight away.
Instead of selecting a target again? (Which only the user able to use the skill anyway)
Copy-paste this into a new .js file and import it as a plugin.
PHP:
/**
    Make "The User" scope skills instant selection.
*/
(function ($) {
    var _selectActorSelection = $.selectActorSelection;
    Scene_Battle.prototype.selectActorSelection = function () {
        _selectActorSelection.call(this);
        if (!this._actorWindow.active) {
            return;
        }
        var action = BattleManager.inputtingAction();
        if (action.isForUser()) {
            this._actorWindow.select(BattleManager.actor().index());
            this._actorWindow.processOk();
        }
    };
})(Scene_Battle.prototype)
Thank you. Managed to get it work

Original thread: https://forums.rpgmakerweb.com/threads/skill-scope-the-user.84313/