|I've been struggling for the last few days to make heads or tails out of MSDP. Disclaimer, I am a fairly casual muder, and while I can use lua enough to do some scripting, I am no Telnet maven or lua expert. I've gotten it down (by examining multiple MSDP plugins) to figuring out which functions I need to use to send and receive MSDP packets, but beyond that, I kind of get stumped.|
I've been messing around with the plugin from https://github.com/kvirund/mushclient.msdp, but I have no idea what it's doing with the data, how it's storing it, and most important, how to access and manipulate it. It seems to write to a request table, but I used tprint to print that table after I ran an MSDP command, and it didn't print out a nice big table of info as I'd hoped, just one variable, so I'm not sure if this plugin isn't working correctly, or if I'm doing something wrong with it.
I give that preamble in order to ask if MSDP and such behind-the-scenes protocols for sending data might possibly get native support from MUSHClient? I'd love to be able to just access variables directly from inside an alias, rather than having to call plugin(some long number), plus a bunch of function with which I'm not acquainted. I know, you scripting guru's will probably scoff, but I literally looked at this plugin for a few days, tweaking it, adding debugging aliases (such as the one to tprint the MSDP table that the plugin was supposedly updating), etc, and it honestly is getting pretty demoralizing. Furthermore, most of the plugins I've discovered and tried to work with concern themselves with graphical interfaces. I don't actually want to use MSDP for that kind of purpose -- I just want it to capture variables like health, character name, etc, so I can modify the status bar to become a prompt that's not always being re-sent by the mud, or update the title bar with the character name, or have a script alert me when my health is low, and so on.
If MUSHClient could support MSDP natively, and store those variables inside its own variable/array structure, life would be so much easier on me. I understand that with the ability to do this with a plugin, such an integration's probably not very high on the priority list, which why I'm just asking if there are any plans at all to bake support directly into the program.