I'm new to these forums, so not entirely sure if this is the right place to post this thread, apologies if it isn't
I have been working on a package for Achaea for quite a while now, and have shared that with a few people during the past year. As I add functionality, the people that also use it sometimes bump into non-functioning aliases/triggers/etc. I've established that finding the culprit can be hard when I'm not the person running into them and sometimes people have a hard time finding the appropriate errors from the errors pane.
Given that, I was looking for a way to keep the latest ten errors given in a separate logfile, along with the commands entered (probably using the sysDataSendRequest event). So I was wondering if Mudlet has an event built in that is raised when something is being logged to the error pane? I don't think the error-pane and/or debug-pane are currently writing their contents to a file, but I'm not sure.
E.g.:
Code: Select all
12:24:32.998 [ERROR:] object:<PromptParsing> function:<Trigger496>
12:24:32.998 <[string "Script: RemediesConsole"]:27: bad argument #1 to 'pairs' (table expected, got nil)>
Any pointers on the matter, if any, would be very much appreciated.