VXAce how can i make a character die if it unequips an item?

I'm new to using the program and I still don't quite understand how it works, as it's different from anything I've used before.
I wanted to create a mechanic where the player would die permanently (game over) if they didn't have a specific item (which is already a starting item)
Create a common event, define its trigger on "parallel" and make its switch to the number you want (just make sure you put this switch on at the beginning of the game). In this common event, set a condition "actor X equipped with armor/weapon Y" and create an "else" branch. In this branch, put your game over command.
Create a common event, define its trigger on "parallel" and make its switch to the number you want (just make sure you put this switch on at the beginning of the game). In this common event, set a condition "actor X equipped with armor/weapon Y" and create an "else" branch. In this branch, put your game over command.
Thank you, it worked.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-character-die-if-it-unequips-an-item.178797/