[ACE] Persist event location

So I have build a script that allows the player to move an event. 

However I notice that when I transfer to another map and get back to the original map, the location of the event is reset to its original place. 

How can I tell the game to leave the event on the position set by the player?

I'm using following command move an event:

@event.moveto(@newX,@newY)

This is working fine as long as I stay on the map. 

When I go to a new map and return, the event is back to its original ones however I want it to stay at the newX and newY. 
Shaz has a script for this: http://forums.rpgmakerweb.com/index.php?/topic/1853-remember-event-position/'>http://forums.rpgmakerweb.com/index.php?/topic/1853-remember-event-position/
Thanks. 

I was just building a similar script. Saves me some time. 
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/ace-persist-event-location.24534/