Wow, you just dredged up a memory for me. I made a fairly detailed town, and did a LOT of scripting in that. My favorite was that I had a team of NPC lamplighters that would patrol the town at dusk & dawn to light and snuff the lanterns along the public ways.