consecutive days over 100°F

Does anyone know of, or have, a script that will output the number of consecutive days over 100

Check out this thread http://discourse.weather-watch.com/t/44094