VXAce ¿Inability to add new commands to the menu?

Basically what the title says.

I'm using the script called Actor Trade Scene, which is an addon for Actor Inventory, both from Hime.
Spoiler: Script Part
Code:
class Window_MenuCommand < Window_Command
 
  alias :th_actor_trade_scene_add_original_commands :add_original_commands
  def add_original_commands
    th_actor_trade_scene_add_original_commands
    add_command("Trade",   :trade,   main_commands_enabled)
  end
end


class Scene_Menu < Scene_MenuBase
 
  alias :th_actor_trade_scene_create_command_window :create_command_window
  def create_command_window
    th_actor_trade_scene_create_command_window
    @command_window.set_handler(:trade,    method(:command_actor_trade))
  end
 
  def command_actor_trade
    SceneManager.call(Scene_ActorTrade)
  end
end


This script (the Actor Trade Scene), has at the end a section that adds the trade option to the menu.
This works fine in a new project and without scripts, which I have been able to check, but for some reason, in my project it DOES NOT WORK, the option in my project does not appear in the menu.

I tried to add it in a “forced” way, creating the codes in the base scripts, but still, nothing.

I suspect that some script I have related to the menu is interfering with this in some way, however, despite checking them, I have not found the source of the problem.

I'll leave here my script.rvdata2 in case someone can help me with this.
Hello
My guess would be to take out the other scripts you are using one by one to figure out which one is interfering with the command display. I had something similar and that's what I did until I was able to find how to make everything work the way I wanted.
You can start from here to find a solution to your problem.
Hey, I want to thank you for your help, really that solution was easier to know what the problem was!
The problem was in the Ace Menu Engine, but with a few lines added, I finally managed to add the command to the menu!
1747953516346.png

The only bad thing is that I can't add the icon to the command with the Module Icon (Blackmorning Script).

I suspect it must be because the Actor Trade script does not have something like “def self.trade”, and even though I tried to add it to the vocab, it had no effect.
I'm glad you were able to find a solution on your own. However my scripting skills are limited so I do not know how I can help you from here. Good luck.
I'm glad you were able to find a solution on your own. However my scripting skills are limited so I do not know how I can help you from here. Good luck.
I understand that, but my scripting skills are not very good either, so I have not yet managed to add an icon to that command :/

Anyway, thank you so much for helping me.

Original thread: https://forums.rpgmakerweb.com/threads/inability-to-add-new-commands-to-the-menu.177800/