You too can log everything without having to manually create a log before you connect or save your buffer after you log out.
Here's how!
First:
Sadly, this is for Zmud and Cmud only, though I'm sure you can modify it for other clients. Feel free to post below an auto-connect script for your particular client.
Each of the following will save the log with the file name in Day Month Year format such as: 22Nov15.txt
This can be changed in a number of ways including using a variable in the name so you can reference a certain character.
Also, when reconnecting, the file should be appended if connecting on the same day. A new day brings a new file.
Onward to the scripts!
Zmud:
You'll need triggers and to specify the file location (the folder MUST exist BEFORE logging):
#TRIGGER {Abandon hope, all ye who enter here...} {#log %concat(C:\Program Files (x86)\zMUD\AabahranTheForsakenLands\Logs\%time(d),%time(mmm),%time(y))}#TRIGGER {You have escaped from the Forsaken Lands.} {#log}
CMUD
Easier with its events and will automatically log to the session folder:
#EVENT OnConnect {#log %concat(%time(d),%time(mmm),%time(y))}#EVENT OnDisconnect {#log}
Using a variable could look similar to the following OnConnect event:
#EVENT OnConnect {#log %concat(@Char,"_",%time(d),%time(mmm),%time(y))}
If @Char=Naruthiron for example, with that underscore included, the file name would look like: Naruthiron_22Nov15.txt
This way, all you have to do is change the variable to make it easier in which character you've logged when referencing your logs again.
WARNING: In both of these cases, it WILL log your password if your commands are echoed and you log in manually.
Use of the #gag command should help if you're worried about it. Alternately on starting your log, you can match a pattern after your login information such as: "It has been * since your last visit." If you wish to do this with CMUD, you must make a trigger similar to the ZMUD one above or create your own event, and shouldn't use the OnConnect event.
