How would I add a timestamp in a log that I'm creating. I'm trying to create a log of just things people gossips, and then adding a timestamp to the log file when the gossip is added. Is this possible? If so, what should I add to my trigger to get a timestamp in my log file?
Thanks in advance for any help.
You can call a script instead of sending to a log and have it do:
sub Logit (tname, output, wilds)
world.writelog now & " " & output
end sub
That should log the line 'and' add the date and time to each line. That should work.
A simpler method is to change the "line preamble" in the logging configuration. Click on the button labelled "?" to see the various codes you can put in the line preamble, including date and time.