Time to Next Tick Display -NET

This will make a counter at the lower right of your wintin terminal that counts down the seconds until the tick.
This is useful for making spell counters because the variable time2next updates every 2 seconds, so you can make sanc counters that are completely accurate, which I will post next by the way.
#defgroup ticker
#nop These help keep it accurate...you probably want to add more
#action {^It starts to rain} {#tickset} {G|ticker}
#action {^The day has begun} {tickset} {G|ticker}
#action {^The eastern sky starts to brighten} {tickset} {G|ticker}
#action {^Your fly spell just} {tickset} {G|ticker}
#alias {subtick} {#math {timesincetick} {$timesincetick-60};tickcheck} {G|ticker}
#alias {tick} {timesincetick;tickcheck} {G|ticker}
#alias {tickcheck} {#if {$timesincetick>59}{subtick} else {#math {time2next} {60-$timesincetick}}} {G|ticker}
#alias {tickrep} {tick;#showme {Next tick in $time2next seconds}} {G|ticker}
#alias {tickset} {#var lastticktime $time} {G|ticker}
#alias {timesincetick} {#math timesincetick {$time-$lastticktime}} {G|ticker}
#timer {ticker} {*:*:*2} {tick} {G|ticker}
#panel 1 {Time to Tick}
#pvar 2 time2next
This is useful for making spell counters because the variable time2next updates every 2 seconds, so you can make sanc counters that are completely accurate, which I will post next by the way.
#defgroup ticker
#nop These help keep it accurate...you probably want to add more
#action {^It starts to rain} {#tickset} {G|ticker}
#action {^The day has begun} {tickset} {G|ticker}
#action {^The eastern sky starts to brighten} {tickset} {G|ticker}
#action {^Your fly spell just} {tickset} {G|ticker}
#alias {subtick} {#math {timesincetick} {$timesincetick-60};tickcheck} {G|ticker}
#alias {tick} {timesincetick;tickcheck} {G|ticker}
#alias {tickcheck} {#if {$timesincetick>59}{subtick} else {#math {time2next} {60-$timesincetick}}} {G|ticker}
#alias {tickrep} {tick;#showme {Next tick in $time2next seconds}} {G|ticker}
#alias {tickset} {#var lastticktime $time} {G|ticker}
#alias {timesincetick} {#math timesincetick {$time-$lastticktime}} {G|ticker}
#timer {ticker} {*:*:*2} {tick} {G|ticker}
#panel 1 {Time to Tick}
#pvar 2 time2next