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
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Thu Jul 15, 2004 11:30 pm   

Expanding %roomname
 
As part of a larger script, I have an alias:

#AL savedroom {#ECHO Room should be %roomname.}

But this makes an alias with the value: #ECHO Room should be %roomname.

What I want it to do is make the value: #ECHO Room should be Living Room.

Or whatever the room i'm in at the time is. How can i get the %roomname to to expand? Thnx for the help in advance Smile
_________________
Everyone is entitled to their beliefs - until they die. Then only the truth matters.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri Jul 16, 2004 8:37 am   Re: Expanding %roomname
 
Aarlot wrote:
As part of a larger script, I have an alias:

#AL savedroom {#ECHO Room should be %roomname.}

But this makes an alias with the value: #ECHO Room should be %roomname.

What I want it to do is make the value: #ECHO Room should be Living Room.

Or whatever the room i'm in at the time is. How can i get the %roomname to to expand? Thnx for the help in advance Smile


Try:
#AL savedroom {#ECHO Room should be <%roomname>.}
Reply with quote
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Fri Jul 16, 2004 8:59 am   
 
Thnx, exactly what I didn't know and needed to. Wink
_________________
Everyone is entitled to their beliefs - until they die. Then only the truth matters.
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