All-in-one Function Library that converts an integer variable of >>Total Seconds<< into h/m/s, then prints it as h:mm:ss. Can be used as counter or countdown. Automatically adds +0 (to m/s) if below 10. Widget-ready.
It was originally created to print the game’s uptime to a widget. As a dual-function, it can be used for timers and countdowns alike. GET a Total Seconds variable as the input and SET again at the output.