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


Joined: 30 Dec 2003
Posts: 1
Location: United Kingdom

PostPosted: Tue Dec 30, 2003 11:55 pm   

Help! Trying to capture room name..
 
That stupid automapper is driving me nuts so I turned it off.

Ok, here what I need: -

Any time I move in a direction I need the room name saving to the roomName var I have set up.

I need it to test for failed moves as well...

eg text:

Failed move - Alas, you cannot go that way.
Door closed - The gate is closed.
Sample room

Inside the East Gates of Gaal
You are by two small towers that have been built into the city wall and
connected with a footbridge across the heavy wooden gate. Main Street leads
west from here. Wall road crosses the street, heading north and south along
the city wall.

[Exits: north south west]
[............] An alley cat hiss at you.
[............] A cityguard is here, guarding the gate.
[............] A cityguard is here, guarding the gate.

[12876/12876hp 9332/8969m 4013/4013mv 3164xp]

I hope you can help me so I can get some understanding!!

I tried #trigger {n} {#va roomName #cap} but that doesn't work at all :(
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Dec 31, 2003 8:12 am   
 
Show a sample of you moving with the commands.
Is the room name in a particular color?

If your mapper is on and configured properly and on then
#VAR roomName %roomname()
will store the room name.
Reply with quote
parrotslave
Wanderer


Joined: 01 Jul 2002
Posts: 81
Location: USA

PostPosted: Mon Apr 03, 2006 8:52 am   New Room Name Question
 
Just started playing Project Bob.

The room names in the mud appear like this:

Temple of Mota [Room 3001] (Recall Point)

By the Temple Altar [Room 3054]

Base of the Great Spiral [Room 3363]


When the mapper captures the room names it uses the number in brackets to set the vnum, which is good, but it leaves that part out of the room name:

By the Temple Altar

By the Temple Altar

Base of the Great Spiral


How do I get the mapper to include the brackets and room number in the room name?

Is there a way to get the mapper to assign the ObjID as the same number?

Also, some of the rooms only have a room name and no room description, in those cases the mapper fails to recognize them as rooms and I have to create them manually. Is there a way to get the mapper to capture rooms with no room description?

Thank you.
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