|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Mon Dec 11, 2006 4:57 am
[1.22] Imported multi-line zMUD scripts lose carriage return |
A fairly minor issue, but I noticed that some of my multi-line zScripts are reformatted on import into CMUD. It could just be that zMUD is displaying them nicely on multiple lines despite the fact that they are saved with semi-colons between each command and CMUD isn't doing that. So in CMUD, they are displayed as:
Code: |
command1;command2;command3 |
but in zMUD they are displayed as:
Code: |
command1
command2
command3 |
As I said, this is only the case for some of my aliases - quite likely aliases that I created in an old version of zMUD (not 7.x). |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Dec 11, 2006 9:46 am |
It is because of your aliases. CMUD doesn't space automagically.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Dec 11, 2006 7:37 pm |
zMUD would display a script like this on multiple lines using the "pretty printer" even though it was stored as a single line internally. zMUD traditionally doesn't handle multiline scripts very well, so it was always trying to store your scripts as a single line when it could. So it's very possible those are left over from old versions of zMUD.
CMUD displays the scripts as they are stored, and lets you format and space your script how *you* want it, rather than trying to interfere with it. |
|
|
|
|
|