Code:
  alias todate {
    var %month = $$1
    var %day = $$2
    var %year = $asctime(yyyy)

    var %todate = $calc($ctime($+(%day,-,%month,-,%year) 00:00:00) - $ctime)
    if (%todate < 0) {
      inc %year
      %todate = $calc($ctime($+(%day,-,%month,-,%year) 00:00:00) - $ctime)
    }
    return %todate
  }

on 1:TEXT:!countdown & &:#artiiz:{
   msg # There is $duration($todate($2,$3)) until $2 $3 $+ .
}
Try typing either //echo -a $duration($todate(08,12)) or as another user !countdown 08 12


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net