Event ID on thread

Need Help....
I'm starting a new project and kindda stuck with a plug in i'm trying to make,
the idea is to detect the ID number of an event in a specific tile and change a variable subbed with the same ID number (eg. Gold_0001) by adding or subtracting from another variable (eg. Gold_0002)

If anyone know how to or even has an idea of something in relation to this, kindly comment below.
Thanks. :hwink:
"get location info" can get you the ID of an event at the given position, the rest is just a lot of control variable and conditional branch.
That is pure eventing so far, but you can check the script equivalent of those commands if you really need them in a plugin.

Original thread: https://forums.rpgmakerweb.com/threads/event-id-on-thread.76520/