http://www.eqemulator.net/wiki/wikka...=QuestTutorial has a lot of good commands and their meanings/usage.
There are several examples already created for instances: The LDoN zones, Guild Lobby, Sewers of Nihilia. You can view them at PEQ's SVN if you don't have them already.
For the different NPCs, etc., you can create different versions or copy/modify existing versions.