Add session timer in the post window

This commit is contained in:
2024-05-14 11:20:18 +02:00
parent 176004f7c4
commit 6034e63638
3 changed files with 46 additions and 12 deletions

View File

@ -1,5 +1,13 @@
BuboUtils {
*timer {
var time = Main.elapsedTime;
var hours = (time / 3600).asInteger;
var minutes = ((time % 3600) / 60).asInteger;
var secs = (time % 60).asInteger;
^("%:%:%".format(hours, minutes, secs))
}
*banner {
var banner = "┳┓ ┓ ┳┓ ┓ ┳┓\n"
"┣┫┓┏┣┓┏┓┣┫┓┏┣┓┏┓ ┣┫┏┓┏┓╋\n"