Hide Item command in a state?

hi 
is there any script which allows you to hide the item button in combat in a state? 


i found some for vx ace but im using mv 
if yes how do i do it and what plugin do i need thx 
You can't necessarily assume that the process is going to require a plugin. However, you need to be more clear and specify what you mean by "hiding the item button in a state" to make sure that the community can help you. 🙂
Best solution I can think of would be editing your project's core script. In the section where it draws the battle scene, put a qualifier (maybe an if/else branch) that checks if the selected player has the status effect. If they do, disable the Items menu. Else, run script as normal. I'm too lazy to look up all the script calls right now, but there's a thread for them in the top of this part of the forum (MV).
You can't necessarily assume that the process is going to require a plugin. However, you need to be more clear and specify what you mean by "hiding the item button in a state" to make sure that the community can help you. 🙂

basically what im looking for is 
player A transforms < i use a yanfly script for that means only the sideview battler and the skills change lets call the state B 

player A is now in B state and ofc in state B he should not be allowed to use the transform skill again and he should not be allowed to use items either but only in state B 

my problem is now that i dont wanna perma remove them i want that my transform skilltype (same as magic as example) and items are gone but only as long as im in this state B so i would need something that brings them back as soon i lose state B again

idk if thats even possible D:
Try this: http://forums.rpgmakerweb.com/index.php?/topic/49224-bobstahs-enhanced-equipment-item-items-command-skill-and-skill-type-restrictions-152/#comment-488108

thats a really nice plugin i just have problems to figure out now what the script is for 

actor X cant use skilltype A if he is in state B 

and 

actor X cant use items while in state B 
If I am reading the help file in the plugin correctly, you need to add the following notetag to any actor in the database:


<Restrict Items>


!State: x


</Restrict Items>
If I am reading the help file in the plugin correctly, you need to add the following notetag to any actor in the database:


<Restrict Items>


!State: x


</Restrict Items>

thank you very very much i tried around with that and the right one is 
 


<Restrict Items>


!State: x


</Restrict>

Original thread: https://forums.rpgmakerweb.com/threads/hide-item-command-in-a-state.66234/