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
DustyShouri
Novice


Joined: 29 Oct 2004
Posts: 34

PostPosted: Sat Apr 16, 2005 12:33 pm   

%replace
 
Well, I have a list that stores all afflictions: @afflictions

Now, I show those all in a status window via:
%replace( @afflictions, "|", ", ")

Is there any way I can replace the |'s with newlines? I want to make each item show up on the next line, and not on the same one. Is there any way that's possible? It seems %replace doesn't support functions in it.

I just want it to all display an item on each line, and not rely on wrapping.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Apr 16, 2005 3:40 pm   
 
%expandlist(@afflictions, %cr)
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
DustyShouri
Novice


Joined: 29 Oct 2004
Posts: 34

PostPosted: Sat Apr 16, 2005 6:03 pm   
 
Thanks!
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