mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2016
Posts: 3
C
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Jun 2016
Posts: 3
Hi All,

Yay for mIRC supporting CAP and native ZNC buffer playback! Unfortunately, I need to know when this playback is occurring by way of identifier.

This is because I currently have triggers activated by text which was actually in the playback buffer and not "live", meaning people are receiving events from me that happened 5 hours previous when I was offline.

Any help with identifying buffered vs. live mIRC activity is greatly appreciated.

Last edited by ClontarfX; 08/06/16 12:04 PM.
Joined: Jan 2004
Posts: 1,360
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,360
$msgstamp indicates a timestamp was given with the line

Joined: Jun 2016
Posts: 3
C
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Jun 2016
Posts: 3
Hi friend, is there any documentation for that? Is it simply if ($msgstamp isin $1-)? I couldn't find it in the mIRC help file. Thanks for your reply smile

Joined: Jan 2004
Posts: 1,360
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,360
$msgstamp will return the time, you could compare it to $ctime but its presence at all should be enough.

http://www.mirc.com/versions.txt

Originally Posted By: versions.txt
53.Added CAP server-time and znc.in/server-time[-iso] support. Enabled
automatically with a CAP request if server lists it in CAP LS. If a
server message has a @time prefix with a UTC timestamp, $msgstamp
will return this value.

Joined: Jun 2016
Posts: 3
C
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Jun 2016
Posts: 3
Excellent, comparing with $ctime is a good idea (already using it in my playback script). Thanks again smile


Link Copied to Clipboard