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
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Mon Mar 02, 2009 11:20 am   

MXP Help
 
I want to be able to produce a table with the information aligned into columns - i.e. to calculate the spaces automatically.
I suppose I can write a script for this using %len and doing some math to figure out the spaces..

I was wondering if there is a way to do this with an MXP command though. An alignment tag, a table even?
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Mon Mar 02, 2009 11:33 am   
 
Actually the command you are looking for is %format.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Mar 02, 2009 11:56 am   
 
There's no way to do it with MXP, but %len is also a bad way to go about it. We just had a whole thread about this here, and my way of doing it in that thread will work 100% fine in CMUD ;)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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