[RPGMV]Script needed for custom road (location of event)

Hi everyone and thanks for the help.
The title is accurate i think, but i need the script code to set in movement road to get this:

◆Control Variables:#0115 dodge (x item) = this event map X
◆Control Variables:#0116 dodge (y item) = this event map Y
◆Get Location Infos :dodge (r item), Region ID, ({dodge (x item)},{dodge (y item)})
◆If:dodge (r item) = 2
◆Script:Galv.SPAWN.unspawn(this);
◆
:End

Original thread: https://forums.rpgmakerweb.com/threads/rpgmv-script-needed-for-custom-road-location-of-event.88688/