Transfer the Skills menu to the Attack menu (battle)?

I'm trying to make the Skill Selection open when the player select "Attack" in a battle.

(Attachment) rpg_windows.js:
sad.png


If I change 'attack' to 'skill' in the plugin, the Skills menu opens but the skills don't appear.
If I swap "item" and "guard" around they will work as intended (Item will perform guard and Guard will open the items menu), but since the "skill" command is different it doesn't work if I swap it with "attack".
I know that I can change the names in the database, but it's not what I want.

Please, don't ask me the why of this.
Thank you for the help.
You have to go a completely different way.
The attack button is actually a direct skill button that always execute the skill #1 in battle.
If you want a selection to open, you need a skill type for that.

Here is how to do it:
1) create a skill type named "Attack" and give that skill type to every skill you want to appear under the attack menu
2a) rename attack to something else in the database and change the skill#1 to what that something is, or
2b ) use a command manager plugin to remove the attack button from your menu completely.
You have to go a completely different way.
The attack button is actually a direct skill button that always execute the skill #1 in battle.
If you want a selection to open, you need a skill type for that.

Here is how to do it:
1) create a skill type named "Attack" and give that skill type to every skill you want to appear under the attack menu
2a) rename attack to something else in the database and change the skill#1 to what that something is, or
2b ) use a command manager plugin to remove the attack button from your menu completely.

Sorry, I'm not sure if I got what you mean. 🙁
I don't want to remove the Attack option from the battle, I want it to open the skills list instead of executing the skill #1.
I actually want to remove the Skill menu from the battle but transfer its function to Attack. I know how to remove it but the "transfering" part I can't find a way to do it.
You don't need to transfer, you only need to make the player believe that the attack button works like you want.

From your description the way to go would be this:
1) make one skill type "attack" only, remove all other skill types from that list
2) make every skill be of that skill type
3) install one of the command manager plugins and use it to remove the attack option from all actors.
Finished.

If you don't believe me, make a test project with these steps, playtest it and then tell me where the difference for the player is between what I described above and what you tried to do.
I managed to do it by changing some lines in the rpg_windows.js plugin! ☺️ I think.

happy.png


I've been testing it around and had no problems so far. The changes affect the main battle commands so, hopefully, it won't mess with anything else.

@Andar, thank you for the help nonetheless. Sorry for the hassle.
@RicoRob Are you going to have any other skills in battle besides attack or guard? If so you made it where you can't access them.
@RicoRob Are you going to have any other skills in battle besides attack or guard? If so you made it where you can't access them.
No, all skills have the same type.
@RicoRob
I'm assuming you want something like this:
Screenshot (23).png


If you do want that then the coding you did was incorrect. You commented out the skill type command not the attack skill command, which only holds the attack skill.

What you want to do is make a skill type called attack. You make all the skills you want to be connected to the Attack command, the attack skill type and your code should look like this:
Screenshot (24).png

Original thread: https://forums.rpgmakerweb.com/threads/transfer-the-skills-menu-to-the-attack-menu-battle.87325/