Mapper

Posted by Unregistered user on Mon 21 Aug 2000 12:00 AM — 4 posts, 18,261 views.

#0
I really like the way Mushclient is developing, the mapper added in version 3.03 has me looking at this page a lot more to look for updates. I really hope that the mapper will recognize my aliases in the future so I can use an alias in the middle of mapping and it will record all the moves I make in the alias.

Greetings,
Joris
Australia Forum Administrator #1
Yes, the mapper will respond to aliases, keypad walking, or any other way that you walk around (eg. from instructions in a script).

How it works basically, is that just as a command is being sent to the MUD (however it originated, whether typed manually, an alias, or from the numeric keypad):

1. If mapping is turned on; and
2. The command is one of the directions: north, south, east, west, ne, nw, se, sw, up or down (and also n, s, e, w, u, d)

... then it is mapped.
#2
Hello,

I think I figured out what went wrong, I usually put my aliases in this form:

Alias Mush
"do 5e,4s,pull lever,2u,thank Nick for his wonderfull software,6e"

and when I used the Mush alias... nothing would happen in my mapper. However I have converted a few of my aliases to this form:

Alias Mush
"5e 4s (pull lever) 2u (thank Nick for his wonderfull software) 6e"

And then it worked out.
I suppose I should get working and get code those aliases better


Also, a bit out of topic for this heading (mapper), but I don't want to spam the board, I wondered if it could be possible to rename a variable, because I was beginning to work with them, and I found out they were getting a mess pretty soon and I had to remake every one of them even though I only wanted to change the name of the variable and not its contents.

Greetings
Joris
Australia Forum Administrator #3
You can't rename variables at present, as they are stored "keyed" by the name, so they can be quickly located in a script.

To rename it you really need to copy the contents, then delete the old one, create a new one, and paste the contents back in.

I suppose MUSHclient could do that "behind the scenes" if you request to rename a variable, so I have added that to the list of suggestions for a future version.