@PauloWanderson, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
This is also a thread hijack: your question (how to structure an event) is different from that of the original poster (a script call to perform a specific action). You're not in trouble, but try to avoid these things in future.
👋
You can do Conditional Branch -> Button is pressed every X frames, and use a switch to track whether the item is equipped or not. If you want more help, you can start a new thread:
Ask RPG Maker MV questions here!
forums.rpgmakerweb.com
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.