log input?
log input?
A friend asks, is there an easy way to save to logfile also the player's input and not just the output from the mud?
- SlySven
- Posts: 1023
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: log input?
I think you'll have to copy and paste (in plain text or HTML if you want fancy formatting) from the relevant window. The development branch on github produces much better quality HTML IMHO but in checking I realise my fixes never got into the 3.0.0 previews... *sigh*
Edit: Just pushed some commits out to put those fixes onto the 3.0.0 preview source as Pull request 271.
Edit: Just pushed some commits out to put those fixes onto the 3.0.0 preview source as Pull request 271.
Re: log input?
Using the sysDataSendRequest event, you can log output to a separate file yourself.
Re: log input?
Oh well, it seems like there is no simple solution (yet) to this simple request. I assumed otherwise.
So the smartest thing seems to me, creating a new function for saving the player's inputs. At best, to the same file as the mud's output.
Maybe there already are some scripts with alike functionality, we may copy or expand upon?
So the smartest thing seems to me, creating a new function for saving the player's inputs. At best, to the same file as the mud's output.
Maybe there already are some scripts with alike functionality, we may copy or expand upon?