There is no automated way to do it if that is what you are asking. But, you can probably /log and pull out all of the NPC say messages for the quest from there. Then, you will need to manually lookup which items are involved in the quest and add them to your script where appropriate.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.