Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
biotsrama
Newbie


Joined: 11 Jul 2004
Posts: 4
Location: USA

PostPosted: 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! Smile
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net