mIRC Home    About    Download    Register    News    Help

Print Thread
#12234 21/02/03 01:30 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
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...

Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
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  
  }
}



Link Copied to Clipboard