Time Stamping Lines?

Need some help with your MUD client? Forgot your password? Get help here.
Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Post Reply
Posts: 98
Joined: 27 May 2022 14:30

Time Stamping Lines?

Post by qwertheangmarim » 19 Mar 2023 15:07

Can anyone tell me how to time stamp specific lines?

Posts: 499
Joined: 24 Jan 2016 21:27

Re: Time Stamping Lines?

Post by Drazson » 19 Mar 2023 18:55

On the webclient you can use javascript. When the line triggers it will be the last sibling of the items having the log entry class (inspect the website to see what I mean) so you can target it and prepend a timestamp to its element.innerHtml. You can get the date with javascript, just look it up.

Post Reply