|
biotsrama Newbie
Joined: 11 Jul 2004 Posts: 4 Location: USA
|
Posted: Fri Jul 23, 2004 10:40 pm
Question about AutoMapper Speedwalks |
I would like to be able to do the following:
When I execute a speedwalk via the AutoMapper interface (specifically, a fastwalk), I want to send an additional command to the MUD along with the direction. For example, if the fastwalk sends "ennws" to the MUD, I would like it to send "e;command e;n;command n;n;command n;w;command w;s;command s" to the MUD, where command is an arbitrary command of my choosing. I've looked through documentation but couldn't find a solution--any ideas?
An additional question: How can I set my current position within the AutoMapper from an alias/code/ZMUD script? In other words, I would like to be able to set my zone and room within that zone from code (rather than right-clicking on my current location and clicking on Set Current Position, etc.)
Thanks! |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Jul 24, 2004 2:40 pm |
Second question first, use #TELEPORT.
You first question is much harder. In order to do what you want, you have to break into the mapper interface and replace what it would normally send with your own set of commands. I am not even sure this can be done. What I know can be done, is to use the %walk function to produce the same path and then proccess it into individual commands using %expandpath. Then insert the 'command dir' between each. Another option would be to change from fast-mode to slow-mode and then use the onroomenter special alias to insert the commands. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Sat Jul 24, 2004 6:49 pm |
In answer to the first question, simply replace the existing directions with new directions: #DIR ns "n;<command>" n
Then, when you selected a room in the mapper to speedwalk to, it will move you north, then the command of your choosing. |
|
|
|
|
|