I swear I remember a send that doesn't echo the generated commends to the screen? I'd hoped it would be listed in similar commands in one of send, sendall and expandalias, but no such luck
JimB
isn't there a send that doesn't echo?
Re: isn't there a send that doesn't echo?
The send() function takes an option second argument which tells it whether to echo or not. http://wiki.mudlet.org/w/Manual:Lua_Functions#send has details, but essentially
Re: isn't there a send that doesn't echo?
Ah, that's right, I was too focused on a separate command to read the send doc all the way through. Now that you say that, I remember I set a global debug variable to turn it on and off as a second arguement.
Thank you!
JimB
Thank you!
JimB
-
- Posts: 23
- Joined: Tue Mar 01, 2011 10:00 pm
Re: isn't there a send that doesn't echo?
There's also a checkbox labeled "show commands sent to the server" in the settings window that you can uncheck, and it does essentially the same thing. Helpful if you have a lot of scripts with a lot of sends and you don't want to have to painstakingly go back and find each one and add in the second false argument.