M
Mudlet•3y ago
demonnic

kill alias

and I don't think what you typed is necessarily easier than inputting it in two spots. But we may just have to disagree there.
24 Replies
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
demonnic
demonnicOP•3y ago
What do you feel the overcomplication is? I'm still not sure what your actual gripe is. Is it just that we use regular expressions for the alias pattern and don't automatically capture what comes after the alias match? It takes a pattern to match, and the thing to do when the pattern matches. Aliases are similar to triggers in some ways, yeah, in that they match on what you input, and triggers match on what comes from the game. but that's not exclusive to Mudlet
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
demonnic
demonnicOP•3y ago
they also use aliases instead of functions, not a great comparison. heh
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
demonnic
demonnicOP•3y ago
well darn, I'd just about finished wiring it up 1:1
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Vadi
Vadi•3y ago
Statistically speaking, we're bound to get such people every once in a while So it's OK. Within the norm. We don't get many of them anyway.
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
demonnic
demonnicOP•3y ago
they're they same concept, just expressed differently. and generally speaking I like to try and demystify these things, but "it's just more complex" is hard for me to unwind 😦
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
demonnic
demonnicOP•3y ago
I find their questioning if I'd even played muds 'before regular expressions' or implying I'm somehow super new to the genre amusing though not just because it's incredibly off the mark, but moreso because it's completely immaterial to the discussion. I'm really glad we don't approach all computing problems the same way we did 40 yrs ago
Vadi
Vadi•3y ago
clearly the solution is AI write out a sentence of what you'd like to alias and it'll generate one for you!
demonnic
demonnicOP•3y ago
call it skynet
Vadi
Vadi•3y ago
hopefully github will expand their copilot API for other editors. that would be handy in mudlet too works great for muddler already, that is!
atari2600tim
atari2600tim•3y ago
is that grayed box there as like a leftover from an earlier version where maybe the alias screen was based on the trigger screen?
Vadi
Vadi•3y ago
It was never implemented. Maybe an exact match will do good here? I was also thinking to populate the pattern's placeholder with something like Enter ^myalias$ to match 'myalias' for the first launch experience, just like we point out to enter stuff into the command line with it
atari2600tim
atari2600tim•3y ago
I think if it had an option like prefix or something then you could have alias k (args) -> kill (args) be a little more intuitive, or do like the other box and have a hint in there saying that a caret... what you said although instead of being a first run thing, I would say put it in there the same way that the "Text to send the game" is, so that the second time they make an alias then it'll still be obvious
Vadi
Vadi•3y ago
Hmm. would need to be something less annoying if it's to always be shown... lets think on a text
atari2600tim
atari2600tim•3y ago
On TMI-2 mudlib, it has an alias command, and you type alias k kill $* to make a game-side alias. I thought they were going to say something like that as an example of their simplification idea, but then they said Tintin stuff.
demonnic
demonnicOP•3y ago
I'm pretty sure Buck's mushclient-like aliases and triggers from the command line actually end up being more like what they were used to
Vadi
Vadi•3y ago
Yeah, they just never bothered to click the link
demonnic
demonnicOP•3y ago
with the %# tokens and all that.
Vadi
Vadi•3y ago
GitHub
Add first-time placeholder text for aliases by vadi2 · Pull Request...
Brief overview of PR changes/additions For the first launch of Mudlet only, add explanatory text into aliases on how they should be structured Motivation for adding to Mudlet Better first-time pla...
Want results from more Discord servers?
Add your server