can also do it like this as well
on $*:TEXT:/^\?time?\s?/iS:#:{
if (!$($+(%,timer,$nick),2)) {
set -u3 $+(%,timer,$nick) 1
if ($timer(countdown)) { .notice $nick 5Timer is in use try back in 3 $timer(countdown).secs 5Seconds! }
elseif (!$2 || $2 !isnum) { .notice $nick 4Failed14 to time the required request because you didn't provide the duration! ex: ?time 5 }
else {
.notice $nick 5Timer has started with3 $2 5Seconds!
.timercountdown 1 $2 .notice $nick Timer has reached zero after counting down from $2 seconds! }
}
}