mIRC Home    About    Download    Register    News    Help

Print Thread
Does `echo -t` parse server-time? #255809 22/11/15 04:49 PM
Joined: Aug 2014
Posts: 12
Z
Zarthus Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2014
Posts: 12
In the following event:


Code:
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.

Reference:
https://github.com/ircv3/ircv3-specifications/issues/182#issuecomment-158777149

Last edited by Zarthus; 22/11/15 04:50 PM.
Re: Does `echo -t` parse server-time? [Re: Zarthus] #255810 22/11/15 05:20 PM
Joined: Feb 2015
Posts: 243
O
OrFeAsGr Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
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..

Re: Does `echo -t` parse server-time? [Re: OrFeAsGr] #255814 22/11/15 11:14 PM
Joined: Aug 2014
Posts: 12
Z
Zarthus Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2014
Posts: 12
It's the right forum, -t (and $timestamp) should (to my beliefs) parse the timestamp normal (i.e. non-scripting) also would.

Re: Does `echo -t` parse server-time? [Re: Zarthus] #255816 22/11/15 11:35 PM
Joined: Jan 2004
Posts: 1,319
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,319
Echo and $timestamp should have nothing at all to do with server time. $msgstamp refers to server time.

Re: Does `echo -t` parse server-time? [Re: Zarthus] #255819 23/11/15 11:13 AM
Joined: Sep 2005
Posts: 77
deVilbaT Offline
Babel fish
Offline
Babel fish
Joined: Sep 2005
Posts: 77
Also <-t> works only if (ALT+O or Menu/Tools/Options) IRC\Messages: Timestamp events enabled. Edit box should be filled, eg. [HH:nn].

Regards.


when no one watching us
we are invisible
Re: Does `echo -t` parse server-time? [Re: deVilbaT] #255846 25/11/15 02:53 PM
Joined: Aug 2014
Posts: 12
Z
Zarthus Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Aug 2014
Posts: 12
Seems like I'm looking to use
Code:
$time($msgstamp, $timestampfmt)

then, thanks.

Last edited by Zarthus; 25/11/15 03:04 PM.