Originally Posted By: Nillen
Don't replace anything.

//echo -a $duration($todate(04,29)) will return how many weeks, hours, minutes and seconds it is until April 29th next year.


So I should put like this into "Remote"?

Code:
on 1:TEXT:!test:#artiiz:{
  if ((%floodtest) || ($($+(%,floodtest.,$nick),2))) { return }
  set -u0 %floodtest On
  set -u0 %floodtest. $+ $nick On
  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
  }
  //echo -a $duration($todate(08,12))
}