That wasn't it, but the average line script with the straighten option selected looks just like the script I described. That script collection also has a bunch of other useful looking scripts.
Just bumping this out of curiosity, the ZHCG_polyTools are doing the trick for what I wanted, but just wanted to see if anyone knows the script I was referring to initially.