mIRC Home    About    Download    Register    News    Help

Print Thread
#123929 29/06/05 08:16 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

#123930 29/06/05 08:20 AM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
$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
#123931 29/06/05 10:29 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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


Link Copied to Clipboard