View previous topic :: View next topic |
Author |
Message |
Pauschi Voice
Joined: 03 Sep 2019 Posts: 11
|
Posted: Sun Nov 08, 2020 1:15 pm Post subject: Logging chat |
|
|
Hey guys
for now the eggdrop logs the chat from
old
to
new
so the newest is always on bottom.
1
2
3
4
5
6
7
8
9
is there any way, that the eggdrop is saving the chat in reverse mode?
new
old
9
8
7
6
5
4
3
2
1
?
Cheers |
|
Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2858
|
Posted: Sun Nov 08, 2020 6:54 pm Post subject: |
|
|
Hello Pauschi,
The short answer to that would be no.
Log posts are appended to the end of the file, as that is the most efficient way to add new data to a file. Prepending the new log post would either require that the whole content of the file be shifted before adding the new post, or in the extreme case; retaining each log post in memory and rewriting the whole log each time a new post is added. _________________ NML_375, idling at #eggdrop@IrcNET |
|
Back to top |
|
 |
|