NPC location trigger event

So, I'm trying to make it when a NPC steps on a certain tile it triggers an event, in this case pulling down a lever.
I have made it so you can control the NPC with choices guiding the movement of the NPC when the player is in the other room, but I can't get the event to work and pull down the lever. Is there a command or a script for when the NPC stands on this certain tile, it then triggers the lever to be pulled? Or how would I go about accomplishing this?
There are a few ways to do it. You could have a parallel process event storing the NPC event's X and Y coordinates in variables and then having a conditional branch checking for those variables having the values of the X and Y of the target tile, or you could place a "below characters" event on that spot and use an event-on-event trigger plugin.
You can do it by regionIDs and use this plugin
When you say another room do you mean another map?

Original thread: https://forums.rpgmakerweb.com/threads/npc-location-trigger-event.165800/