asstools provides a few functions for handling of .ass scripts.