Thread: Chat Log Entry Timestamps
-
July 28th, 2014, 19:22 #1
Chat Log Entry Timestamps
I'd like to be able to add timestamps to each chat-log entry; possibly also a running total time. For experimentation/troubleshooting purposes. Has something like this been done already and I've missed it?
It's hard to be religious when certain people are never incinerated by bolts of lightning.
-
July 28th, 2014, 20:16 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,546
I added support for the os.time function in our Lua interface in v3.0, so you should be able to use that. There is no support for timers, or turning on time stamps for chat/console or logging.
Regards,
JPG
-
July 28th, 2014, 22:28 #3
Are there any known extensions that modify the chat log via Lua that might be repurposed? I know a bit of Javascript, but I'm not a coder—I wouldn't be able to make it from scratch.
It's hard to be religious when certain people are never incinerated by bolts of lightning.
-
July 29th, 2014, 03:48 #4
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
MW, thanks for adding os.time. Somehow, I missed that you had done that.
-
July 29th, 2014, 04:10 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,546
There are no APIs to modify chat log directly. Adding time stamps to existing messages would require overriding an existing ruleset to inject into the messages.
A general purpose time stamp capability would require a fair amount of changes that would need to be updated and maintained with each new release.
From your original post, I thought you were looking to add time stamps to code you were adding to FG already.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks