I think we are lacking a function to get items from an NPC's current loot table. You couldn't do it without something like that. It is really the only thing you need to do what you are wanting.
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.