What you're getting into now, is learning about basics of developing a server. Creating an NPC is the first step, but having it port
you (anywhere) is in a quest script. Magus's, dock gnomes, etc., all run from a quest script. You would have to get the zoneID
and x,y,z location of where you want the toon to land. If you go into the server quests folder and, for example, look at one of
the 'translocator" scripts, it would give you an idea of what you're up against. You will see quest:movepc(zoneid, x, y, z);
In some cases, (on a porter such as a gnome) you might see, for example, quest::selfcast(2281), that is an actual spell in the
spells_new table, which you would have to change the destination values, if that was your preference.
But have you visited the wiki ?
http://wiki.eqemulator.org/i?M=Wiki&Page=Main (sections on creating npc's etc.). There is
also lots of quest samples here on the forums, as well..