Ksi Menu - Items not working

Hello! I need some help with the Ksi Menu script. It seems that when I go to use an item, it's not working. The Use Item sound effect doesn't even play when I try to activate an item. I noticed that another user had the same problem, but I couldn't find a solution except some suggestions to try a different script. https://forums.rpgmakerweb.com/inde...pt-to-include-the-ability-to-use-items.54140/

This is where I copied the script from which I am using now:

I've created RPG Maker games before, so I know how to set up items in the database properly. However, tinkering seems to do nothing. Does anyone else have this problem? I really don't know much about scripting, so any help would be appreciated! 🙂
Scripts forum is for posting scripts you have written and want to share with the community.
Moved to: RGSSx Script Support
Here's a script I wrote that allows you to use items from the KsiMenu.
I added some sounds on closing a window. Let me know if you want them removed.

Code:
# ==============================================================================
# Edit by: vFoggy
# Adds item usage functionality to the KsiMenu script. Also added some sounds on
# closing windows.
# ==============================================================================
class Scene_Menu < Scene_MenuBase
  def update
    super
    if Input.trigger?(:B)
      SceneManager.return
      # Edit: Added sound on going to the previous menu
      Sound.play_cancel
    end
  end
end

class Scene_Items < Scene_ItemBase
  # Edit: Added create_item method
  def create_item
    @item_window = Window_KsiItem.new
    @item_window.help_window = @help_window
    @item_window.update_help
    @item_window.set_handler(:ok, method(:on_item_ok))
  end
 
  # Edit: Added on_item_ok method
  def on_item_ok
    $game_party.last_item.object = item
    determine_item
  end
 
  # Edit: Added show_sub_window method.
  def show_sub_window(window)
    width_remain = Graphics.width - window.width
    
    # Edit: Changed the position of the actor menu window
    offset = ((@item_window.width - @actor_window.width).abs/2).to_i
    window.x = @item_window.x - offset
    window.y = 0
    window.z = 1000
    
    @viewport.rect.x = @viewport.ox = cursor_left? ? 0 : window.width
    @viewport.rect.width = width_remain
    window.show.activate
  end
 
  def update
    super
    if Input.trigger?(:B)
      SceneManager.return
      # Edit: Added sound on going to the previous menu
      Sound.play_cancel
    end
  end
 
  # Edit: play_se_for_item
  def play_se_for_item
    Sound.play_use_item
  end
 
  # Edit: Added use_item method
  def use_item
    super
    @item_window.redraw_current_item
  end
end
That's perfect!! Thank you so much!!! <3

Original thread: https://forums.rpgmakerweb.com/threads/ksi-menu-items-not-working.77593/