Top

Countdown

Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Jun 23, 2007
Last Updated  Jun 23, 2007
Tags  countdown  date  timer 

Introduction

This is a simple local countdown script, which will count down and from a date.

Usage: /countdown <date>
Acceptable formats for date:
    January 1 1970 00:00:00
    3rd August 1987 3:46pm
    21/4/72 1:30:37
    Wed 1998-3-27 21:16

Example:


Grab the Code

Comments

  (5)  RSS
HeLL_MasTeR
Comments: 38
 
mIRC Snippet:  Countdown
Posted on Jun 23, 2007 12:27 pm
Yeah this is nice.. nice job Daveoh :)
Olliegod
Comments: 77
 
mIRC Snippet:  Countdown
Posted on Jun 23, 2007 11:40 pm
Well once it reaches the time specified it goes to negative seconds. Perhaps make it say Time Reached or something of the sort and stop updating? And I'm not sure of why the timer has to be high resolution, I would think .timercountdown 0 1 would be good enough.
Lindrian
Comments: 693
 
mIRC Snippet:  Countdown
Posted on Jun 26, 2007 8:00 am
Except the flaw that it goes -, I guess its alright.

I dont think the -h switch is so good.
*
Note: The -h switch creates a high-resolution multimedia timer. This type of timer should only be used in critical timer situations since it uses system resources heavily.
*
Daveoh
Comments: 27
 
mIRC Snippet:  Countdown
Posted on Jun 26, 2007 9:30 am
I explained in the intro that this script will count down AND FROM a date.
The amount of CPU used by the timer seems minimal, the CPU usage of mIRC for me is usually under 1% using the script or not. The only point of the switch is so that the countdown does not go out of sync from what it should be, otherwise you could be seconds to minutes out.
Olliegod
Comments: 77
 
mIRC Snippet:  Countdown
Posted on Jun 27, 2007 12:23 am
Well since it's meant to count from the date, maybe make it so it doesn't only give seconds. For example: -1 minute 34 seconds.

Please Register or Login to start posting comments.
Bottom