Jethro commented on a Page, Reminder  -  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  
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.