Yes, yes and yes! Long have I suffered the semicolon splitting my nicely punctuated sentences.ktiedt wrote:I would love to have an escape char for the cmd separator! One of my biggest annoyances to date!
Mudlet features and API requests
Re: Mudlet features and API requests
Re: Mudlet features and API requests
Setting it to a double semicolon fixes the problem.
Re: Mudlet features and API requests
But I don't like typing two semicolons... just typing one semicolon in the midst of a battle is a lot easier for those who fight manually and need to stack up commands, typing ';;' is ... not very pleasing to the eyes and it also takes up valuable typing time.Vadi wrote:Setting it to a double semicolon fixes the problem.
Also in response to @SlySven, couldn't the apostrophe's just be escaped with \? Same as something that could be added to the command line should someone want to type out an alias without it actually firing?
Re: Mudlet features and API requests
Double-tapping ; isn't slow but ok you also won't see the double ;; on the screen because it is removed, so nothing unaesthetic there.
- SlySven
- Posts: 1023
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: Mudlet features and API requests
But then: "did I just press the semi-colon once or did my finger slip and I entered two?" so it ought to be visually changed to show this - I know, let us invert the colours for it ah I haven't done the code for invert/strikethough/overline to do that yet...
Re: Mudlet features and API requests
why is there a sudden opposition to the well tested pattern of having an escape character? *boggle*
Re: Mudlet features and API requests
Nah, I wouldn't be opposed to having one added. Just pointing out that this can be dealt with.
Re: Mudlet features and API requests
I already made the escape char feature once. It must have gotten lost in the transition from sourceforge to github so it can be put back in.
Re: Mudlet features and API requests
Unless I am missing something, we currently have no way to reliably ascertain Mudlet version via the Lua API. Because of this, might I propose the following:
This would return a string, giving the current version. I opted for a string to assist those of us using n.n.n-dev branches.
Thoughts?
Code: Select all
getMudletVersion()
Thoughts?
Re: Mudlet features and API requests
For the most part you should be checking for the functions you need, not hardcoding to a particular Mudlet version. There are edge cases where doing that is hard, so that would be useful, but a bad programming style.