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
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sun Jan 09, 2005 3:02 pm   

Displaying array variable in a button caption
 
Hi there,

I'm sure this is an easy one, and thanks in advance to whoever points it out.

The mud I play has a wholist that can be easily captured to a variable. Previously I showed this in the status window, but the window seems a bit erratic at times, so I decided to test putting the who list into the caption of a button.

The variable containing the data is 'whoList'
The button caption is currently set to:
%expandlist(@whoList)

which displays
Jeff Bob Jim Fred

problem is I want each item on a new line, rather than just separated with a space.



Thanks
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sun Jan 09, 2005 3:55 pm   
 
Found it

%expandlist(@whoList,%cr)
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