|
Jezuit Beginner
Joined: 02 Nov 2002 Posts: 27 Location: USA
|
Posted: Fri Jan 09, 2004 9:13 am
Adding more then one space... |
My problem is relatively simple, but I don't know how to fix it. I would like to create an alias that simply has two statements in it, but the second statement should have about 30 spaces or so before it, depending on the size of the first. This is for muds where I want to have some gossips displayed on two lines. At any rate, I need to have pretty printing and non-one-line-commands for all the scripting I do, but if I have it on and try to add more then one space, zmud in turn reduces it to one. Is there a way I can avoid this?
|
|
|
|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: Fri Jan 09, 2004 10:47 am |
What I used to do to accomplish that is just alternate tildes and spaces... like:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~... essentially "~ " is one extra space |
|
|
|
Caled Sorcerer
Joined: 21 Oct 2000 Posts: 821 Location: Australia
|
Posted: Fri Jan 09, 2004 11:15 am |
Not sure if it still works, but for illusions I used to put " " around the spaces, and it worked once... a long time ago.
|
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Fri Jan 09, 2004 11:45 am |
Try: %format("&"%eval(%len(%2)+30)"s","%2")
This will return the second parameter of the alias, prepadded with 30 spaces in front. |
|
|
|
|
|