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
Wspaedt1977
Beginner


Joined: 13 Feb 2022
Posts: 13

PostPosted: Tue Feb 15, 2022 12:18 am   

Capturing Room Names and Room Exits
 
In CMUD how would one go about capturing room name and room directions to use at a later time if the room name and directions looked like this:


Canyon path [u,d]

Thanks for any help I'm sorta new to this
Reply with quote
hpoonis2010
Adept


Joined: 18 Jun 2019
Posts: 279

PostPosted: Wed Feb 16, 2022 6:19 am   
 
#TR {(*) ~[(*)~]} {
$roomname=%trim(%1)
$exits=%2 OR $exits=%list(%2,",")
}
Reply with quote
Wspaedt1977
Beginner


Joined: 13 Feb 2022
Posts: 13

PostPosted: Wed Mar 02, 2022 9:18 pm   
 
This work Great.

Thanks for the help
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