mIRC Home    About    Download    Register    News    Help

Print Thread
#33640 02/07/03 09:24 PM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
is there an identifier or something that will tell ya how long it will be till a %var that has been set with /set -u3200 is unset? if there aint one, is there a workaround or something?


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
#33641 02/07/03 09:34 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
There is no method, that I know of, to get the time until a variable expires.

You might try this work-around however.

set -u3200 %MyVar DATA
set -z %MyVar.time 3200

The variable %MyVar will contain DATA and expire in 3200 seconds, while the variable %MyVar.time will decrement every second until it reaches 0 and expires. Ergo, %MyVar.time will equal the time until %MyVar expires.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard