mIRC Home    About    Download    Register    News    Help

Print Thread
$var() addition #10580 11/02/03 03:26 AM
Joined: Dec 2002
Posts: 699
N
Nimue Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
$var(%var).secs returns number of seconds left before %var is unset.

Re: $var() addition #10581 11/02/03 05:38 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
I'd like this feature too (but maybe name the property ".unset", like the $hget().unset smile)


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: $var() addition #10582 11/02/03 05:43 AM
Joined: Dec 2002
Posts: 699
N
Nimue Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
I got the ".secs" as the property name from $timer(), so much for consistency laugh

Re: $var() addition #10583 24/11/06 04:02 PM
Joined: Nov 2004
Posts: 826
Jigsy Offline
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 826
Even though this thread is three years old, I'm so for this. :P


What do you do at the end of the world? Are you busy? Will you save us?
Re: $var() addition #10584 25/11/06 04:08 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
ROFL. *stands up quickly smelling of carpet*
Yeah i think its a good idea too!
Hmm with timers .secs is till it next triggers.. it doesnt necessarily unset.. altho... .unset might come in handy? wink...nah it's fine.
Yet again good idea i have to agree :P