 |
Inkil_shadowhunter Newbie
Joined: 03 Jan 2004 Posts: 1 Location: USA
|
Posted: Sat Jan 03, 2004 12:45 am
triggers and chat logging.... |
this may be one of those rare dumb questions that a person asks, then figures out 5 minutes later, but my mind isnt working right at the moment...
could anyone point me in the right direction as to how to set a trigger to start logging the mud session, and include date and time?
I have tried to use the help file, but its not giving me enough clues....
I would appreciate any assistance.
inkil Shadowhunter
Burning Lands MUD
amtgard.com: 5555 |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Jan 03, 2004 7:05 pm |
#LOG will start a log.
%time() will return the time and date.
So, just issue these two commands to start a log and put the time/date as its first line.
#LOG Inkil.txt;#SHOW %time()
Logs are intended to be a continuous record, so they usually are controlled directly (by typing in the commands) or started at login. They usually aren't controlled by triggers.
If you only want to log chats, this is usually done by logging a chat window. Chat windows and timestamps have been discussed often, a search for "chat window" should probably turn up enough scripts so you can write your own if you don't find one that you can just plug in. Be sure to check the Finished Scripts forum also. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|