Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add #userinput command to control user input setting #80

Closed
hollowphoton opened this issue Jan 30, 2021 · 5 comments
Closed

Comments

@hollowphoton
Copy link

hollowphoton commented Jan 30, 2021

Many thanks for continuing to update this - hugely appreciate it!!!

My feature request relates to the user input setting in the common options panel:
image

I'm building some scripts for MUME and have a need to submit a single line without printing it. I'd love to be able to toggle input to 'Don't Display' for a single line and then turn it back on. It could look something like this:
#userinput disable|prompt|new

Allowing me to input #userinput {disable}; and #userinput {prompt}; around the submitted line I want to hide.

Thanks!!!

@hollowphoton hollowphoton changed the title Feature Request: Add #command to control user input setting Feature Request: Add #userinput command to control user input setting Jan 31, 2021
@konelav
Copy link
Collaborator

konelav commented Jan 31, 2021

It looks like command #daa do exactly what you need, i.e. sends its argument to server without echo and logging; if you want to avoid echo and still write the line to log-file, you can use combination of commands #daa and #logadd.

@hollowphoton
Copy link
Author

Thanks konelav - #daa is nice and hashes the command, but what I'm looking for is turning off the input entirely. Avoiding this output:
*#><***********************************************************>

@konelav
Copy link
Collaborator

konelav commented Feb 6, 2021

@hollowphoton please, take a look at https://github.com/konelav/jmc/releases/tag/3.7.1.8pre .
The syntax should be almost exactly as requested #userinput [disable|prompt|newline], displaying current settings.
If this is what you need, I'll add option to suppress #userinput system messages through #message command.

@hollowphoton
Copy link
Author

Feature works great! +1 to adding suppression for it through the #message command.

@konelav
Copy link
Collaborator

konelav commented Feb 7, 2021

@hollowphoton https://github.com/konelav/jmc/releases/tag/3.7.1.8

#message userinput
#userinput disable

@konelav konelav closed this as completed Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants