I'm having trouble finding out if there is a global "line" variable in MUSHclient accessible by Lua. In pursuit of that, I have also tried to find a "lua alias" to allow me to run simple scripts from the command-line, but have been unable to locate that as well.
What I am trying to accomplish is to use a trigger to replace text in the line using the "Replace" function, that way I can gather information from the line to store into a variable, and then replace a portion of that line so that I can effectively gag it.
In specific concept, there are two scenarios I am trying to work with:
1) Capture nospoof data, save it, and then remove the nospoof from the line so that I see it as though I didn't have nospoof on at all.
2) To take a prompt from a MUD, parse what I gather into a table, and then replace it with a neater version of the prompt, or with nothing at all.
What I am trying to accomplish is to use a trigger to replace text in the line using the "Replace" function, that way I can gather information from the line to store into a variable, and then replace a portion of that line so that I can effectively gag it.
In specific concept, there are two scenarios I am trying to work with:
1) Capture nospoof data, save it, and then remove the nospoof from the line so that I see it as though I didn't have nospoof on at all.
2) To take a prompt from a MUD, parse what I gather into a table, and then replace it with a neater version of the prompt, or with nothing at all.