I checked out Fadedparadox's timer and there it was, the answer right infront of my eyes! I guess I need to stop to be affraid of difficult looking scripts :)
I figured out (thanks to this post) how to automate my log dividing into smaller parts (through the timetags in the filename), but still I manage to get files as big as 4megs or so (which is way too big).
So I made a timer that simply does a CloseLog and an OpenLog. It works fine, but it doesn't throw in the HTML start and end tags (i'm logging in .html).
My question is, how can I get those tags into the log?
It worked for me when I pasted it into the Timers configuration. The instructions in the "how to paste" page are for triggers not timers. If you follow those literally you will see the message:
Line 1: Tag not used: <timers> ()
You need to switch to the Timers part of world configuration, not the Triggers part. The instructions given showed triggers as an example.
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.
That will close and re-open the log every hour (if you are connected). Thus, it will tick over at midnight (or sometime in the next hour afterwards), closing the current log file and opening a new one. It will use the current log file string if you supply an empty string to OpenLog, and thus it will respect the date/time codes in it. During the day it will append to the existing log file, so you won't get lots of different files in one day.
Oh and that string you suggested, Nick, this would need me to manually reconnect, yes? I have a staff bit on one MUSH and well, I never disconnect with him :P
Thanks guys and thanks Nick, you have always answered every question I ever had... (usually vis-a-vis email back in the day under a different email lol).
You could make each world have its own subdirectory, however it won't create the subdirectory for you. You would have to manually make a subdirectory per world, and then the logs for that world could go in it. eg.
So each time MUSH is started the log is appended of or a new one created with current date and time.
For my chat window I have to manually select Log Session from the file menu each time I start MUSH, I think this is because MUSH starts logging on world connect.
I don't think the you really need to script this MUSH will write the log file with the date for each day.
Here is a picture of my log dialog:
http://picasaweb.google.com/lh/photo/bgGiB_1L2wLiruQ2ZaX8uA?feat=directlink
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.