Capturing user input

Post Reply
manacubus
Posts: 3
Joined: Fri Nov 15, 2019 4:40 pm

Capturing user input

Post by manacubus » Fri Nov 15, 2019 4:46 pm

Hi

I'd like to capture user input history for a session. Specifically those commands entered manually (or via triggers, it doesn't matter). I'm specifically after the exact commands sent to the mud from the client. Have done plenty of reading but still stumped - how do I access these?

And secondly, I would need an event that is triggered on each user input (so I can capture it and append it to the log). Surely this exists already? Can you clue me in please?

Kind Regards
M

User avatar
demonnic
Posts: 576
Joined: Sat Dec 05, 2009 3:19 pm

Re: Capturing user input

Post by demonnic » Sat Nov 16, 2019 12:47 am

What you're looking for in all of these cases is the sysDataSendRequest event, https://wiki.mudlet.org/w/Manual:Event_ ... endRequest

manacubus
Posts: 3
Joined: Fri Nov 15, 2019 4:40 pm

Re: Capturing user input

Post by manacubus » Sat Nov 16, 2019 8:04 am

Thanks very much, I'll look into it!

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests