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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Doxedon
Novice


Joined: 01 Dec 2007
Posts: 49

PostPosted: Sat Dec 22, 2007 10:53 pm   

[2.18] Echoing alias script
 
Premise: Unless the script code is written on one single line, when you do #ALIAS aliasName it will only echo the first line, rather than the entire script.

I'm assuming it's not intentional.

Code:

<alias name="test1" id="167">
  <value>hi
hello
frown</value>
</alias>


In command prompt: #ALIAS test1
Quote:

Alias: + test1 hi
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Dec 22, 2007 11:59 pm   
 
Actually I believe it is intentional, because you can also do just "#ALIAS" to echo all defined aliases. For someone like me that could easily turn into about 10K lines pumped out to screen all at once.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Doxedon
Novice


Joined: 01 Dec 2007
Posts: 49

PostPosted: Thu Dec 27, 2007 9:19 am   
 
Makes sense for echoing all aliases, and I definitely don't want to see the expanded version of all my aliases, but I'd also like to be able to see the entire contents of a single alias on screen.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jan 07, 2008 11:29 pm   
 
I'll add this to the wish list,
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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