trill commented on a Page, Countdown Script  -  Apr 11, 2010

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! }
  }
}
 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.