For the first, you can already set a variable directly by selecting Character -> This Event -> Map X (or Y)
So you can already do the first.
Your second request is a little unclear. If by "certain tow map events" you mean you only need to check if a couple of specific events are touching each other, you can use the method above to get the coordinates of the events and check them against each other. If you need it to be able to trigger anytime any event touches it or need it for a lot of events, then a script might be preferable.