Reminder

By DangerOfFate on Dec 14, 2008

My first mirc script in N amount of months....Please go easy on me.

on *:text:.Reminder*:#:{
  set %reminder $2-
  set %nick $nick
  set %ro on
  if(%ro == on) { Notice $nick No. Bad. | halt }
  Notice $nick Okay $nick $+ , I will remind you that/to $1- in 10 minutes. If you'd rather me remind you at a later time, please specify when you recieve my reminder notice.
  .timer 1 600 Notice $nick Hello, you've requested that I remind you that... %reminder
  .timer 1 602 unset %ro
}

Comments

Sign in to comment.
Jethro   -  Jan 26, 2011

hxck, for the first part of your "minute" routine, the %nick should have been $nick. There is no %nick variable being set. Can you tell me what is the point of > else { halt }You can do this with regex:

on $*:text:/remind .+ (\d+) (minute|hour)s?\b (.+)/iS:?:{
  var %x $regml(1), %msg msg $nick Will do, $nick $+ .
  var %time $calc(%x * 60), %time2 $calc(%x * 3600)
  var %msg2 msg $nick Yo $nick $+ , $+(Reminder:,$chr(32),$regml(3)) 
  %msg | .timer 1 $iif($istok(minute minutes,$regml(2),32),%time,%time2) %msg2
}
 Respond  
hxck   -  Jan 26, 2011

--

 Respond  
Tippy   -  Oct 10, 2009

Should go into negatives!

 Respond  
Jonesy44   -  Dec 14, 2008

If you'd rather me remind you at a later time, please specify

..How? :/

 Respond  
DangerOfFate   -  Dec 14, 2008

roflmao

 Respond  
napa182   -  Dec 14, 2008

DangerOfFate said:

why bother giving it a semi-decent score?
well for one: I didnt score it, and two: I wont cuz the scoring system don't go into the negatives, or you redo it. ;x

 Respond  
DangerOfFate   -  Dec 14, 2008

why bother giving it a semi-decent score?

 Respond  
napa182   -  Dec 14, 2008

smh...
why bother posting this?

 Respond  
DangerOfFate   -  Dec 14, 2008

er......

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.