|2020/12/17 02:21, Imago:|| |
|Imatin, I like the setup!
If I may offer some advice, I would read up on trigger filters as well as AND triggers. Running regex on lots of lines becomes expensive, using some smart filters you can really cut down on this.
For example, all of my XP counter triggers off of an info #XPC command from MUME, so I have a trigger filter (folder with pattern) to do a beginning of line substring for #XPC. In that folder I have the various regex for #XPC (d)+ ... and so on. This means I only run regex on lines that start with #XPC.
I've found it nice to keep as much lua as possible in the scripts, and have triggers/aliases call functions--although there are some cases where this isn't as cut and dry.
I do like the initial set up, one of the things I have on my todo is work with some players and come up with a custom MUME gui package we can provide newbies with lots of good functionality in the box.