mIRC Home    About    Download    Register    News    Help

Topic Options
#123929 - 29/06/05 09:16 AM timer question
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
I have a timer that runs for two minutes, what I'm wondering is, how, if possible, can I have a message displayed showing the amount of time left every 30 seconds starting with when the timer was set.

Top
#123930 - 29/06/05 09:20 AM Re: timer question
Mentality Offline
Planetary brain

Registered: 01/06/03
Posts: 5024
Loc: London, England
$timer(N).secs returns the amount of seconds left until the timer triggers...to actually show that you would need to set a separate timer.

Regards,
_________________________
Mentality/Chris

Top
#123931 - 29/06/05 11:29 AM Re: timer question
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
cheap and nasty method

.timer 1 120 blah blah blah (this is the timer)
.timer 1 90 echo -a 30 seconds to go
.timer 1 60 echo -a 60 seconds to go
.timer 1 30 echo -a 90 seconds to go

Top