mIRC Home    About    Download    Register    News    Help

Print Thread
#72955 27/02/04 07:58 PM
Joined: Feb 2004
Posts: 1
J
Mostly harmless
OP Offline
Mostly harmless
J
Joined: Feb 2004
Posts: 1
Hello.

I'm having a problem with a function on mIRC. My problem is that when I start a timer and have it on an infinite loop, if I use any type of comand that returns a date ($time, $fulldate) it gives the same date over and over.

To be brief, what I'm trying to do is use a message on a timer that messages myself, included with the time in the message, it repeats every 20 seconds. Here is the command.

/timer1 0 20 /msg $me Still here. Time is $fulldate

I've tried $asctime and $date in place of $fulldate, but I get the same problem.

It always returns the time when I activated the timer. Don't know what the problem is, so if anyone can help me, it'd be much appreciated.

From what else I've gathered, when I use this in the perform buffer, it gives the error, but if I manually type it out, then it works fine and keeps the time up to date. The only problem is that I don't like to manually do stuff, I like to either have it automatically execute from a script, or do its thing whenever it starts.


Thanks.

#72956 27/02/04 08:32 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
/timer1 0 20 /msg $me Still here. Time is $[color:red]!fulldate[/color]

The ! delays evaluation.


Link Copied to Clipboard