Refresh the Equip Scene

I'm using a common event inside the equip scene (with Hime - Scene Interpreter), and I need to refresh the equip scene (more specifically the slots window) after the event is over. Is there a way to do it with a script call from the event?
I'm using VX Ace btw.
SceneManager.scene.slot_window.refresh ?

not sure about grabbing the item window from the scene, though.
things like that should be engineered within the script itself, not as a patch up.
SceneManager.scene.slot_window.refresh ?

not sure about grabbing the item window from the scene, though.
things like that should be engineered within the script itself, not as a patch up.
Yeah, that didn't work... Let me try to elaborate.

In my commom event, I add slots to the actor using Hime - Dynamic Equip Slots whenever he/she equips an item, and I remove the slots when he/she unequips. It's working fine, except Hime's script doens't refresh the Equip Scene, it just adds to the battler slot. Maybe if I add something to Hime's script to refresh the scene my problem is over?

Spoiler: Hime - Dynamic Equip Slots
=begin
#===============================================================================
Title: Dynamic Equip Slots
Author: Hime
Date: Jul 13, 2013
--------------------------------------------------------------------------------
** Change log
Jul 13, 2013
- Initial release
--------------------------------------------------------------------------------
** Terms of Use
* Free to use in non-commercial projects
* Contact me for commercial use
* No real support. The script is provided as-is
* Will do bug fixes, but no compatibility patches
* Features may be requested but no guarantees, especially if it is non-trivial
* Credits to Hime Works in your project
* Preserve this header
--------------------------------------------------------------------------------
** Description

This script allows you to add or remove equip slots during the game using
script calls. You can add or remove equip slots as many times as you want
using simple script calls.

--------------------------------------------------------------------------------
** Required

Core - Equip Slots
(http://himeworks.com/2013/07/13/core-equip-slots/)
--------------------------------------------------------------------------------
** Installation

Place this script below Core - Equip Slots and above Main

--------------------------------------------------------------------------------
** Usage

The following methods are available for adding or removing equip slots
using script calls:

add_equip_slot(actor_id, etype_id)
remove_equip_slot(actor_id, etype_id)

When an equip is removed, the item is returned to your inventory.

#===============================================================================
=end
$imported = {} if $imported.nil?
$imported["TH_DynamicEquipSlots"] = true
#===============================================================================
# ** Configuration
#===============================================================================
module TH
module Dynamic_Equip_Slots
end
end
#===============================================================================
# ** Rest of script
#===============================================================================
class Game_Interpreter

#-----------------------------------------------------------------------------
# New. Adds an equip slot with the given etype to the specified actor.
#-----------------------------------------------------------------------------
def add_equip_slot(actor_id, etype_id)
$game_actors[actor_id].add_equip_slot(etype_id)
end

#-----------------------------------------------------------------------------
# New. Removes an equip slot with the given etype from the specified actor.
#-----------------------------------------------------------------------------
def remove_equip_slot(actor_id, etype_id)
$game_actors[actor_id].remove_equip_slot(etype_id)
end
end

class Game_Actor < Game_Battler
#-----------------------------------------------------------------------------
# New. Adds an equip slot to the actor with the given etype id
#-----------------------------------------------------------------------------
def add_equip_slot(etype_id)
@equips.push(Game_EquipSlot.new(etype_id))
sort_equip_slots
end

#-----------------------------------------------------------------------------
# New. Deletes an equip slot for the given etype. If there are multiple slots
# with that etype, simply removes one at random. Any equipped items in that
# slot is returned to the inventory.
#-----------------------------------------------------------------------------
def remove_equip_slot(etype_id)
slot_id = @equips.index {|eslot| eslot.etype_id == etype_id }
return unless slot_id
change_equip(slot_id, nil)
@equips.delete_at(slot_id)
end
end
http://himeworks.com/2013/07/13/core-equip-slots/
Code:
#-------------------------------------------------------------------------------
# Adjust contents size to account for additional slots
#-------------------------------------------------------------------------------
class Window_EquipSlot < Window_Selectable

  def refresh
    create_contents
    super
  end
end

make sure you have the core file


>>when debugging a third party's script, make sure you find their hooks into the actual program<<
http://himeworks.com/2013/07/13/core-equip-slots/
Code:
#-------------------------------------------------------------------------------
# Adjust contents size to account for additional slots
#-------------------------------------------------------------------------------
class Window_EquipSlot < Window_Selectable

  def refresh
    create_contents
    super
  end
end

make sure you have the core file


>>when debugging a third party's script, make sure you find their hooks into the actual program<<
A already have that script, it's a dependency for Dynamic Slots. =/
I am pretty newbie when it comes to RGSS3 but I don't think it's the Window Class I should refresh, it is the SceneEquip? Sorry if i'm wrong.
I took a look at the SceneEquip and it has @slot_window.refresh on item ok, optimize and change actors, and all that work, my additional slot "appear" whenever I do that.
I don't follow.
it works, but it doesnt? or you want it to work outside the regular .refresh call?

Original thread: https://forums.rpgmakerweb.com/threads/refresh-the-equip-scene.85112/