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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
ccc000
Newbie


Joined: 09 Apr 2012
Posts: 1

PostPosted: Wed Apr 11, 2012 2:16 am   

[Q] #LMAP - What am I doing wrong?
 
For example:
Code:
  #LMAP "neu;.(enter)" {#echo (%roomname(%i))}

Encountered dir; (enter) not return roomname?

For example:
Code:
  #LMAP "neu;.(enter)" {#echo (%roomvnum(%i))}

Encountered dir;.(enter) not return roomvnum?

how to do?
Reply with quote
rozdwojeniejazni
Wanderer


Joined: 13 Aug 2011
Posts: 74

PostPosted: Thu Sep 27, 2012 11:30 pm   
 
I have got the same problem. Obviously Lmap with non-standard exit in path returns zeros in %i. How to overcome that?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Sep 28, 2012 2:28 am   
 
Do you actually have "enter" as an exit name in your Cmud map?

[edit]Testing on one of my own maps, it does appear that this is broken. This would be a bug. Odd, I was sure I tested that during the beta test period.
The makeshift solution that I can see is to write your own script to convert the path to a list of room numbers, using the %pathexpand() and %roomlink() functions.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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