I Need A Simple Script That Temporarily Disables The Use Of Items.

Good day chaps! So in my game I want to disable the use of items
or just disable the item option on the menu temporarily.
Just something so the player can't use items without disabling the
other menu commands.
on which menu?
main menu on map or battle menu or both?
(they require two different scripts)
on which menu?
main menu on map or battle menu or both?
(they require two different scripts)
Just on the map.
Do you want to hide the option, or should it still be in the menu? And how do you want to hide the option - with a switch or script call?

Original thread: https://forums.rpgmakerweb.com/threads/i-need-a-simple-script-that-temporarily-disables-the-use-of-items.117491/