mIRC Home    About    Download    Register    News    Help

Print Thread
W
Wussie
Wussie
W
When you join a channel, it's log can be set to load in the channel window. As far as I'm aware in the current state this defaults to loading the last 500 lines of the log (it used to be more but got capped in mIRC 6.xx somewhere). It'd be nice to be able to adjust this number.

As an example, I frequently go back to a channel where I had a discussion just the day before to ctrl+f some link that was pasted, the channel might've been very active and the link doesn't show up in the channel window anymore because of the 500 lines cap. Now I have to go and open the log file, there's technically nothing wrong with that, but it just takes a lot longer (the process of going out and opening the log file, and the fact that they're usually multiple megabytes in size).

I hope this makes sense and can be incorporated in one of the future versions of mIRC. Or, if there's already a way to do it and I've just not found it yet, I apologize.


5
5618
5618
5
I believe what you are looking for is simply the Window buffer option in Options > Other
Your buffer size is probably set to 500 there.

Joined: Aug 2010
Posts: 134
T
Vogon poet
Offline
Vogon poet
T
Joined: Aug 2010
Posts: 134
Originally Posted By: 5618
I believe what you are looking for is simply the Window buffer option in Options > Other
Your buffer size is probably set to 500 there.


There's a difference to the maximum buffer size (what you are talking about), and the number of lines that are recalled from the logfile whenever you recall a channel.

5
5618
5618
5
And that difference is?

Are you saying the reload always loads a fixed number of lines (i.e. 500)?

W
Wussie
Wussie
W
Originally Posted By: 5618
And that difference is?

Are you saying the reload always loads a fixed number of lines (i.e. 500)?


yes, this is the case. The number you pointed out is just how many lines there can be in one channel before it starts removing the oldest. These are two different things.

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

Quote:
33.Changed reload log feature to only reload a maximum of 500 lines.



Last edited by Wussie; 03/09/10 03:02 PM.
5
5618
5618
5
Ah, I see.

So yes, this is then not supported at the moment. However, the behaviour is easily scripted. Something like:
Code:
on me:*:JOIN:#: if ($exists($logdir $+ $mklogfn($chan))) loadbuf -p $chan $logdir $+ $mklogfn($chan)


Edit: if you want a fixed number of lines then you can specify a value between loadbuf and the -p switch, e.g. loadbuf 1000 -p

Last edited by 5618; 03/09/10 03:15 PM.

Link Copied to Clipboard