Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: 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).
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Mon Dec 11, 2006 9:46 am   
 
It is because of your aliases. CMUD doesn't space automagically.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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