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
tjorgen
Newbie


Joined: 22 Oct 2005
Posts: 1

PostPosted: Sat Oct 22, 2005 2:12 pm   

Mapping in Wizard mode - room name/number question...
 
Hello, I am unable to get the mapper to recognize the room number and room name when mapping in wizmode with room flags turned on. Is this possible? Is there anything I can do? The mapper places a portion of the first description line for the room name. I have tried to manually configure the mapper to no avail. Thanks.


<5000hp 5012m 5000mv> w
[ 6002] A trail through the light forest [ NOBITS ]
You are on a narrow trail leading east and west through the forest. To the
west, the forest gradually becomes more dense. A small forest path leads
south.
[ Exits: e s w ][/b]
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Oct 22, 2005 6:35 pm   
 
#TRIGGER {^~[(*)~] (*) ~[(*)~]$} {RoomVnum=%trim("%1");RoomFlags=%trim("%3");#SUB {%2}}
#ALIAS onroomcreate {#NOOP %roomvnum(,@RoomVnum) %roomflag(,@RoomFlags)}

This trigger will strip out the extra information after storing it to variables. This allows the mapper to readily do its thing. The alias stores the variables into the room. This will help with things like the goto command.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Oct 23, 2005 3:36 am   
 
Small correction:
#ALIAS onroomcreate {#NOOP %roomnum(,@RoomVnum) %roomflag(,@RoomFlags)}

And another alias to correct the details of any rooms you have already mapped.
#ALIAS onroomenter {#IF (%roomnum=%roomkey) {#NOOP %roomnum(,@RoomVnum) %roomflag(,@RoomFlags)}}
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
gensubuser
Newbie


Joined: 11 Sep 2006
Posts: 5

PostPosted: Mon Dec 04, 2006 5:58 pm   Mapfilter / Multiple Flags
 
Is there a way to put multiple user flags into rooms, and filter only some of them?

Ie: some rooms have the hello flag, some the kitty flag, some both. Then, mapfilter can return all with hello? Just trying to store as much information as possible in the flags, here.
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