Hi, I'm trying to enable my MUSH to use Lua commands. I've disabled the sandbox.
From the input window, I can type /os.execute("notepad") and it works as expected. I set up a trigger with the matching string /*, with %1 in the send area, going to script.
For some things, it works as expected, e.g.
think /print(os.clock())
/print(os.clock())
429.312
But for os.execute, it's giving me the following error:
think /os.execute("notepad")
/os.execute("notepad")
Compile error
World: TCX
Immediate execution
[string "Trigger: "]:1: unexpected symbol near '\'
What am I doing wrong? Thanks in advance for any help.
From the input window, I can type /os.execute("notepad") and it works as expected. I set up a trigger with the matching string /*, with %1 in the send area, going to script.
For some things, it works as expected, e.g.
think /print(os.clock())
/print(os.clock())
429.312
But for os.execute, it's giving me the following error:
think /os.execute("notepad")
/os.execute("notepad")
Compile error
World: TCX
Immediate execution
[string "Trigger: "]:1: unexpected symbol near '\'
What am I doing wrong? Thanks in advance for any help.