Multiple AC sweep simulation script

Duplicate question and answered in How to use script to run multiple AC sweep simulations? - #7 by Bryan_Lieblick