mIRC Home    About    Download    Register    News    Help

Print Thread
#243416 17/11/13 10:47 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I trying to make a countdown befor a dialog are closed, and i trying to use "dec", can you slow down dec without the usage of timers? i trying to use "while (%x) {" and display the time in
the dialog, "Closing in %x seconds."

Trying to avoid timers for this.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Aug 2013
Posts: 81
I
Babel fish
Offline
Babel fish
I
Joined: Aug 2013
Posts: 81
What about the -c or -z switches?, either of which will decrement the var once per second. (-z unsets the var when it hits 0)


Link Copied to Clipboard