Processing a log file through triggers

Posted by Tharius on Sat 21 Dec 2013 06:36 AM — 3 posts, 16,138 views.

#0
I've been logging a bunch of things awaiting time to build proper triggers and now that a few of them are working I want to process these logs and move forward with the triggers from here.

I have used test triggers to ensure that things will work however that buffer is not large enough to read in my log files :->

Is there a method that will allow me to accomplish what I'm attempting to do or should I just whip up a quick C# program to process them?
Australia Forum Administrator #1
You can read files in Lua, won't that do it for you? You could read line by line, and do a Simulate to pump that line into the client.

Template:function=Simulate
Simulate

The documentation for the Simulate script function is available online. It is also in the MUSHclient help file.

#2
Thanks Nick, I wasn't sure if there was a built in facility but I'm quite pleased to learn that once again, my off the wall idea is achievable in mush nonetheless :)