mIRC Home    About    Download    Register    News    Help

Print Thread
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.
Joined: Feb 2015
Posts: 243
O
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..

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.

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
Echo and $timestamp should have nothing at all to do with server time. $msgstamp refers to server time.

Joined: Sep 2005
Posts: 116
Vogon poet
Offline
Vogon poet
Joined: Sep 2005
Posts: 116
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
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.

Link Copied to Clipboard