All of mudlet
-
Rocke
- Posts: 10
- Joined: Wed Jan 27, 2016 4:52 pm
Re: All of mudlet
Is there any way to make the Mudlet map Follow without Looking? I can't seem to figure it out on my own..
Rocke.
Rocke.
-
edrin
- Posts: 88
- Joined: Mon Dec 21, 2015 2:31 pm
Re: All of mudlet
Turn of brief mode. Mudlet needs to see the complete description to be able to follow your ass around.
-
Rocke
- Posts: 10
- Joined: Wed Jan 27, 2016 4:52 pm
Re: All of mudlet
OK.
Disregards to my 'brief' fail. Is there any way for me to keep alias' from being used in other random commands?
For example: I assigned ep to 'examine pack' I cannot however type 'dep sword' without it responding to ep.
Anything?
Disregards to my 'brief' fail. Is there any way for me to keep alias' from being used in other random commands?
For example: I assigned ep to 'examine pack' I cannot however type 'dep sword' without it responding to ep.
Anything?
-
Krop
- Posts: 61
- Joined: Wed Jan 13, 2016 4:30 pm
Re: All of mudlet
I might be mistaken but I think it depends on how you select the string it uses as an alias. Perl regex, .... stuff like that. you need the one that uses the exact string match to prevent the trouble you're having.
-
Joolis
- Posts: 312
- Joined: Thu Feb 19, 2015 10:26 am
Re: All of mudlet
define your alias as: ^ep$
This tells Mudlet to only accept 'ep' as the alias, and no other characters. This is good practice for all of your aliases.
In short, '^' means 'start here' and '$' means 'end here'
This tells Mudlet to only accept 'ep' as the alias, and no other characters. This is good practice for all of your aliases.
In short, '^' means 'start here' and '$' means 'end here'
-
Jomin
- Posts: 169
- Joined: Thu Feb 19, 2015 3:54 pm
- Location: White Tower Libraries or Deepest Wiltshire, UK
Re: All of mudlet
What Joolis said.
If you need an alias to take an optional argument try: ^ep(.*)$
For help on and an interactive on-line sandbox to play with and explanation of how the component parts of a rexexp work try the Regexp 101 site.
If you need an alias to take an optional argument try: ^ep(.*)$
Code: Select all
This will match "ep" on its own (at the START of the line, no spaces before!) {and matches[2] will be empty}
Or "epAnything" {and matches[2] will be "Anything"}
Or "ep Something and not nothing " {and matches[2] will be " Something and not nothing "}-
Rocke
- Posts: 10
- Joined: Wed Jan 27, 2016 4:52 pm
Re: All of mudlet
Sorry to start up an older thread, I took quite a break and am now back, I was curious if there is a way to assign an alias from my command bar?
-
Adael
- Posts: 1262
- Joined: Sun Mar 22, 2015 12:34 am
Re: All of mudlet
You can assign in game aliases through that I suppose, although the game limits you to like 30 or so aliases I believe?
-
Adael
- Posts: 1262
- Joined: Sun Mar 22, 2015 12:34 am
Re: All of mudlet
I imagine that's not exactly what you meant though. In which case I think the answer is no.
-
Joolis
- Posts: 312
- Joined: Thu Feb 19, 2015 10:26 am
Re: All of mudlet
Not out of the box, but one could write a script to do so. I've found the window editor to be sufficient thoughRocke wrote:Sorry to start up an older thread, I took quite a break and am now back, I was curious if there is a way to assign an alias from my command bar?