alias countdown {
if ($1) {
[color:red]DisplayCountDown $1-[/color]
.timercountdown 0 3600 DisplayCountDown $1-
}
else echo -a ERROR: Please provide a date for the timer.
}
alias DisplayCountDown {
if ($ctime($1-) < $ctime) { .timercountdown off | return }
msg #yourchannel Your event will start in $duration($calc($ctime($1-) - $ctime))
}