mIRC Homepage
Posted By: The_Game Stumped Creating A Reminder - 21/02/03 01:30 AM
I have been looking into the help file and I want to be able to add/delete reminders such as say I want to set a reminder so when im chatting It will pop up say on a given date or something and on that day if im chatting and i forget It will popup upon connection saying something that says Don't forget etc...and when that reminder is old news, i wanna be able to clear it.I cannot figure out how to go about doing this....anyone have any ideas? Thanks in advance...
Posted By: Cheech Re: Stumped Creating A Reminder - 21/02/03 02:03 AM
well you could use a timer and a small alias i have this one for a xmas timer you can maybe chage it to do what you want
Code:
  
alias xmas {
  set %xmas $duration($calc($ctime(25/12/03) - $ctime))  
  set %xmas1 $calc(($time(H) * 60 + $time(n)) * 60 + $time(s))
  if ( $date == 24/12/2003 ) && (%xmas1 > 81000 ) {
    set %xmas2 $calc( 86400 - %xmas1 )
    .timerxmas off    
    .timer 1 %xmas2 amsg 00,04 Merry Christmas!!!  
  }
  else {    
    amsg 00,04 %xmas Until Christmas!     
    .timerxmas 1 3600 xmas  
  }
}

© mIRC Discussion Forums