Erase an event after a certain amount of interactions.

Hi, I was just wondering if there is an other way of implementing this. So far, I have done this by using different variables for each event that I make. But at some point I thought, what if I make hundreds of the same events and for that I would also have to make hundreds of variables.

What I am trying to do is I have an event which I would mine stones and stuff, and maybe at 100 gathers (or 100 interactions) with that event it will vanish.

Hoping for some tips 🙂 Thanks!
Exactly what i am looking for. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/erase-an-event-after-a-certain-amount-of-interactions.122427/