I've been tinkering with .js scripts in MUSHClient for years, relying heavily on google to find me how to perform certain Javascript functions, and of course the scripting function list within MUSH. That said, the websites I've found have pointed me to certain jscript (NOT Java) functions that... simply don't seem to exist within MUSH's context. The biggest one is the 'import' command. It keeps returning 'import' is not defined or something like that.
There are a couple of MU*s I play on that I have multiple characters on, all of whom have numerous variables that I do not want to have to reenter the data on repeatedly, even with triggers/aliases. So I had the idea of tying a script into the 'save' and 'quit' commands, as well as the disconnect event, which would take that character's specific variables and save them to an external file, delete the world variables stored in MUSH, and reload them back from the external file the next time that I logged in with that character.
Now the reason I wanted to use import (which as far as I know is a basic feature in Jscript) is that the IO system built into JScript requires the loading of certain packages via the import command/function.
Does anyone know how to get around this limitation, or know how to make MUSH play nice with the system IO?