This script is available under the AGPL version 3 license on: https://gitlab.com/C0rn3j/configs/tree/master/sc3/text
Written in spite of Text Mechanic tools going paid.