If he's using the newest version of the server, the NPC will use the trade window if you simply just used the loot script that is already there. Or in fact, any of the NPC's scripts that sell or buy will work as well, just the loot one that comes with the server is just easier to switch, since...