Alright this is a custom portal creator made by me and my cousin for our server its real simple
Meditation WoW Portal Creator
just input the XYZ Coords and the Map ID and then click Update go to next tab and save the LUA script into your LUA folder or upload the SQL query to the Database