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
Code Red
Beginner


Joined: 04 Jul 2002
Posts: 13

PostPosted: Wed Aug 07, 2002 1:59 am   

automapper question
 
is there anyway I can get the mapper to create non-triditional exits auto maticaly. I mainly need to get one exit to be noticed and that would be "out"

here let me show you
There are three obvious exits: west, southeast and southwest.
sw
There are three obvious exits: out, right and backward.

I want out to take me back to the room I was in before I went southwest..... I'm tring to map a area on the mud I play and its over 1000 rooms so I just dont want to edit every player house to the other command and type in out. Oh and I'm using zMud 6.32

Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Aug 07, 2002 10:55 am   
 
#TR {^There are %w obvious exits: (*).$} {#VAR ExitLine {%1};#ALARM {+1} {ParseExits}}
#ALIAS ParseExits {#IF (%pos("out",@ExitLine) {#FORALL %roomexit {#IF (%roomlink(%roomnum,%i)>0) {#NOOP %roomportal(%roomnum,"out",%roomlink(%roomnum,%i))}}}}

That will make the out exit, it assumes that you just entered the room for the first time. However it leaves the the old link there. Until Zugg improves the capabilities for script interaction with the mapper it is the best I can do.
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