All of mudlet

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Rocke
Posts: 10
Joined: Wed Jan 27, 2016 4:52 pm

Re: All of mudlet

Post by Rocke » Sat Apr 16, 2016 12:01 am

Is there any way to make the Mudlet map Follow without Looking? I can't seem to figure it out on my own..

Rocke.

edrin
Posts: 88
Joined: Mon Dec 21, 2015 2:31 pm

Re: All of mudlet

Post by edrin » Sat Apr 16, 2016 4:19 am

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

Post by Rocke » Thu Apr 21, 2016 4:02 am

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?

Krop
Posts: 61
Joined: Wed Jan 13, 2016 4:30 pm

Re: All of mudlet

Post by Krop » Thu Apr 21, 2016 5:23 am

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

Post by Joolis » Thu Apr 21, 2016 7:09 am

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'

Jomin
Posts: 160
Joined: Thu Feb 19, 2015 3:54 pm
Location: White Tower Libraries or Deepest Wiltshire, UK

Re: All of mudlet

Post by Jomin » Sun May 08, 2016 10:38 pm

What Joolis said.

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  "}
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.

Rocke
Posts: 10
Joined: Wed Jan 27, 2016 4:52 pm

Re: All of mudlet

Post by Rocke » Sat Jul 23, 2016 12:18 am

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: 1097
Joined: Sun Mar 22, 2015 12:34 am

Re: All of mudlet

Post by Adael » Sat Jul 23, 2016 5:54 pm

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: 1097
Joined: Sun Mar 22, 2015 12:34 am

Re: All of mudlet

Post by Adael » Sat Jul 23, 2016 5:55 pm

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

Post by Joolis » Mon Jul 25, 2016 10:12 am

Rocke 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?
Not out of the box, but one could write a script to do so. I've found the window editor to be sufficient though

Post Reply