mIRC Homepage
Posted By: hixxy /timer -n - 03/03/13 09:14 PM
It would be great if there was a -n switch for /timer so that it doesn't evaluate identifiers and variables when the timer fires, much like the 'n' flag in $read and $readini.

//timer -n 1 1 echo -a $!time

Output: $time

vs.

//timer 1 1 echo -a $!time

Output: 21:13
Posted By: sparta Re: /timer -n - 03/03/13 11:13 PM
Is this what you looking for?: //echo -a $eval($time,0) or //echo -a $eval($!time,1) , no need to make somthing new if it exist? smile
Posted By: Wims Re: /timer -n - 04/03/13 12:42 AM
/me slaps hixxy with https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/223382/ or https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/200216/

There are a lot of discussions about this anyway, Khaled probably is aware.
Posted By: hixxy Re: /timer -n - 04/03/13 06:19 PM
Originally Posted By: sparta
Is this what you looking for?: //echo -a $eval($time,0) or //echo -a $eval($!time,1) , no need to make somthing new if it exist? smile


Not that. /timer evaluates contents an extra time, so if you use content where you can't control the source, such as the text in a channel, then people can type identifiers and mIRC will evaluate them. This kind of behaviour can be (and is) exploited.

Originally Posted By: Wims
/me slaps hixxy with https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/223382/ or https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/200216/

There are a lot of discussions about this anyway, Khaled probably is aware.


Those suggestions are three and five years old, I thought it wouldn't hurt to suggest it again :p
© mIRC Discussion Forums