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
}