MV Removing Item Event When Another Plug-In Menu Closes

Hello all,

A friend of mine and I are creating a game that utilizes a crafting system (Thank you Szyu for your amazing plug-in). We want to be able to allow others to view the crafting recipes anytime, but only craft the items at crafting stations (not in the menu). The workaround that we found on the forums for this is to add a "crafting station" item and add the item to the recipe of the items to be crafted. Then, when players activate the physical crafting station on the map, an event would add the "crafting station" item to the inventory, satisfying the recipe. However, we are wanting to add an event to remove the crafting station item upon the crafting station menu closing.

Does anybody know of a good way to do this? I attempted to use Yanfly's Utility Common Events plug-in, but that only works for the menu of the game, not for other plug-in's menus.

Thank you!
usually parallel processes are stopped while any screen is open, because parallel only work on the map. This can be used to run events directly after a screen closes, IF you can activate the switch for the event at the same time as opening the screen, or on the screen itself.

I don't know if it will work with your crafting screen - that is what you have to experiment.
I usually use this for the battlescreen, to run an event directly after the battle has ended on the map.

one common event parallel process conditioned on a switch, that turn off this switch at the end of its process (so it only runs once)
and activating the switch in a troop event even at the beginning of the battle still means that the common event waits until the battlescreen is closed before executing.

Original thread: https://forums.rpgmakerweb.com/threads/removing-item-event-when-another-plug-in-menu-closes.136606/