Hi,
Im again stuck with a very simple problem.
I have a timer function
where
$1 is the time
delay in seconds and
$2- is the action command to be executed
Now what I want to do is to make a simple
/echo -s ... which will tell me the time the timer will be executed.
For example, when typing
/timerTest 1 600 /echo -s Take a break!
at 12:00:00, the /echo command should look something like this
Sounds simple, but still I had no luck getting this to work with all those cmds I found in the help file; I think I tried it all, like $ctime $asctime $duration $gmt $calc etc.
Only thing I got to work is
/echo -s $asctime( $calc( ($calc($ctime + 600)) - $ctime()))
but this will show me the full date in the following form
and I have no idea how to get the time from it.
Hope someone here can help me quickly with this.
Many Thanks in advance!
P.S: Im using an old mirc version 6.35