Is there a way to display the real world date and time? I.E. March 21, 2023 9:24 AM?
The idea is to create a log file of what occurs. When players take or heal damage, when monsters are killed, etc. So having the log timestamped is ideal. (Have any log timestamped is ideal)
Real world date and time
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
Re: Real world date and time
Only for custom output. I have a macro called chatbox() that allows you to impersonate any token and looks like the current chat output. But if you mouseover the name, it will show the player name and timestamp. But if you want to use your own, you can use [r: json.get(getInfo("server"),"timeDate")] to show the server time and date. You can also replace server with "client" to show that clients time instead.
chatbox can be found in my lib:players2 drop-in or just the code in Discord. If you scroll up from the link, the less feature-rich code is above and it's just called chat().
chatbox can be found in my lib:players2 drop-in or just the code in Discord. If you scroll up from the link, the less feature-rich code is above and it's just called chat().
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
-
- Giant
- Posts: 192
- Joined: Mon Apr 11, 2011 8:11 pm
Re: Real world date and time
Exactly what I am looking for. Thank you.