mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2003
Posts: 5
A
Ave Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Jun 2003
Posts: 5
I noticed that the following feature has been taken out from mIRC 6.03:

From versions.txt:

03/06/99 - mIRC v5.6

32.The line "Session Time:" is now output to log files at midnight as marker for log files that are open for a long time.


When there's no activity on a channel for at least 24 hours, it's no longer possible to accurately calculate the correct date based just on timestamps.

Is it possible to get this feature back in the next version?


- Ave
http://www.mircstats.com/

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Code:
alias daychange {
if ( $1 == 1 ) {
var %i = 1,%j = $scon(0)
while ( %i <= %j ) {
scon %i
var %k = 1,%l = $chan(0)
while ( %k <= %l ) {
%inc %k
echo $color(info) -t $chan(%k) * Session time: $fulltime
}
inc %i
}
}
timerdaychange 00:00 1 0 daychange 1
}
on *:start: daychange

or something along these lines


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Jun 2003
Posts: 5
A
Ave Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Jun 2003
Posts: 5
Yes, that can be scripted. Usually people just log channels for years before they run the logs through a log analyzer and see the problem. The script doesn't help at that point.

It would be great if this was a built-in feature, as it once was.

- Ave

Joined: Jun 2003
Posts: 5
A
Ave Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Jun 2003
Posts: 5
Quote:
158.Fixed "session time" not being written to log files at midnight.


Thanks!
- Ave


Link Copied to Clipboard