Magick Posted November 22, 2015 Report Share Posted November 22, 2015 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.txtThis 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} CMUDEasier 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.txtThis 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. Link to comment Share on other sites More sharing options...
Enethier Posted November 22, 2015 Report Share Posted November 22, 2015 Or you can just download Mudlet 3.0 and there's a button. You literally just click a button. Link to comment Share on other sites More sharing options...
Magick Posted November 22, 2015 Author Report Share Posted November 22, 2015 You can click a button on Z/Cmud, too. This script helps lazy people log. How often have you seen on the Shoutout forums or elsewhere people asking "Did you log that?" A few, I would imagine. Now those same people can say 'yes' even if they forgot to or were too lazy to click a button. AND it automatically names the file, something that clicking a button in Z/Cmud can't do. Link to comment Share on other sites More sharing options...
Naruthiron Posted November 22, 2015 Report Share Posted November 22, 2015 I'm sure you can set up the logging as a trigger rather than an event, so you can avoid the risk of it catching your password. Setting to to the MOTD, for instance, to start it. Link to comment Share on other sites More sharing options...
Magick Posted November 22, 2015 Author Report Share Posted November 22, 2015 I'm sure you can set up the logging as a trigger rather than an event, so you can avoid the risk of it catching your password. Setting to to the MOTD, for instance, to start it. You're right. You can.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.Using the MOTD can be unwise as you can pull up that file by typing in MOTD. I'm not quite sure what'll happen if in that scenario, but I don't think trying to start a log multiple times in a session will be good for the file.Personally, I don't care if it catches my password as I'm not uploading full files unedited anyway. If I'm editing a log, that section is gone regardless. Link to comment Share on other sites More sharing options...
Kyzarius Posted February 14, 2016 Report Share Posted February 14, 2016 If you use login scripts the password and user name are actually hidden. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.