 |
Talmark Novice
Joined: 22 Nov 2003 Posts: 34
|
Posted: Sat Dec 06, 2003 10:24 pm
#WALK |
I created a command input trigger that allows me to quickly type, "walk room", where room is the name or number of the room I wish to walk to, instead of typing the entire #WALK {room} -1. The trigger works great, except when I use it, the mapper no longer follows me like it would if I manually typed it out. The trigger looks like this:
#ONINPUT {^walk (*)} {#WALK {%1} -1}
It seems simple enough. Is there a way to make it send the direction commands to the mud AND the mapper at the same time, without manually typing the command? |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Dec 07, 2003 6:32 am |
Perhaps an alias would work better (I didn't test)?
#AL walk {#WALK {%-1} 1} |
|
|
 |
Talmark Novice
Joined: 22 Nov 2003 Posts: 34
|
Posted: Sun Dec 07, 2003 8:07 am |
Thanks. This seems to work well, and allows me to walk to rooms with names that are more than one word:
#AL walk {#WALK {%-1} -1}
When I tried it, the mapper followed right along. The only difference between this and the one you posted being the last -1, which the docs say to use in order to tell zMUD to only check the current zone, since it's not so easy to move between zones on the mud.
Now I will have to give unique names to each room in a zone, though. Given the choice between two rooms names "Bank", for instance, #WALK seems to invariably choose the one that is the furthest away. Thanks again. |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Dec 07, 2003 6:51 pm |
Oops, the 1 is a typo. It should have been -1. You can probably tell I don't use the #WALK command much.
|
|
|
 |
|
|