hmm, how does it know where to stick the vendors on load?
I believe if you check the load/save functions it's in there.
yeah, the loading function loads the vnum of the room it needs to be put in and then sticks the vendor mob in it. looks like it's doing some other stuff as well, like clearing all other mobs out of it. Kinda pointless to me so you could probably edit that if you want.
Interesting. It's doing a lot of excessive stuff in the loading section that isn't really necessary from what I can tell. Specifically in the "END" part of the switch. I might have to clean that up a bit.
As far as limiting the mobs, I assume you mean one vendor per room here, I guess you could run through the list of shops in the area and check against the keepers in_room->vnum value. Maybe a second room flag, ROOM_VENDOR_BOUGHT, that's set when a vendor is first placed there and checked against? There's probably a better way though.
Edit: Updated the file a bit. Did some cleaning up of a few functions and removed a couple of things I missed before. Check the download page.