on *:START:{
.timerdatestamp -o 00:00 1 0 datestampchans
}
alias datestampchans {
var %scon = $scon(0)
while (%scon) {
scon %scon
var %chan = $chan(0)
while (%chan) {
echo 3 -tn $chan(%chan) ---- Date switching to $date ----
dec %chan
}
dec %scon
}
;wait more than a minute before resetting or else it's still 00:00
.timer -o 1 70 .timerdatestamp -o 00:00 1 0 datestampchans
}