mIRC Homepage

Does `echo -t` parse server-time?

Posted By: Zarthus

Does `echo -t` parse server-time? - 22/11/15 04:49 PM

In the following event:

on ^*:KICK:#: {
  echo -t Something happened!

is server-time parsed? It does not currently appear to be that case - but I have no idea how to confirm this accurately.

Posted By: OrFeAsGr

Re: Does `echo -t` parse server-time? - 22/11/15 05:20 PM

Nope! The -t switch of /echo prepends the $timestamp at the text you want to echo.
And i believe this is not the right sub forum for this post! But nw..
Posted By: Zarthus

Re: Does `echo -t` parse server-time? - 22/11/15 11:14 PM

It's the right forum, -t (and $timestamp) should (to my beliefs) parse the timestamp normal (i.e. non-scripting) also would.
Posted By: Loki12583

Re: Does `echo -t` parse server-time? - 22/11/15 11:35 PM

Echo and $timestamp should have nothing at all to do with server time. $msgstamp refers to server time.
Posted By: deVilbaT

Re: Does `echo -t` parse server-time? - 23/11/15 11:13 AM

Also <-t> works only if (ALT+O or Menu/Tools/Options) IRC\Messages: Timestamp events enabled. Edit box should be filled, eg. [HH:nn].

Posted By: Zarthus

Re: Does `echo -t` parse server-time? - 25/11/15 02:53 PM

Seems like I'm looking to use
$time($msgstamp, $timestampfmt)

then, thanks.
© 2022 mIRC Discussion Forums