Code:
INSERT INTO npc_types VALUES (202373,'Recruiter_Lauren','Spell Scriber',70,1,41,1,800000,1,1,0,6,500,500,0,999999,0,0,200,1000,'ABH',50,0,0,0,0,0,0,0,96,0,2,150,150,150,150,150,1,1,0,1600,0,0,-33,0,150,150,150,150,150,150,150,1,0,1,0,1,0,0);
INSERT INTO spawngroup VALUES(99999,'Recruiter_Lauren1',0,0,0,0,0,0,0);
INSERT INTO spawn2 VALUES(99999,99999,'poknowledge',-19.9,61.9,-157.2,157,0,0,0,0,0,1);
INSERT INTO spawnentry VALUES(99999,202373,100);
This is a set of queries I use to add a custom vendor to PoK. (She also functions as a spell-scriber and a few other things.) She's currently set to use merchantlist 999999 (so I don't have to change the IDs every time PEQ releases a new database).
If there's a way to create a merchant via #spawn, I've never tried it. However, if you're looking for a permanent one, you're free to use the queries above to add this one. Customize it as you'd like.