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


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sun Nov 12, 2006 7:10 pm   

[1.15] Settings containing ;; not compiling.
 
I was going through my compatibility report and noticed that if a setting contained command;;command2;command3 all on one line it will not compile.
Here is an example that does not compile.

#alias test1 {up;;down;right}

This one does compile.

#alias test2 {up;;down}

You can still go into the package editor and move each command to it's own line and everything will work. This is fine but I didn't manually set these commands to be on a single line and shouldn't have to manually fix this.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
darkspot
Apprentice


Joined: 29 Jul 2002
Posts: 105

PostPosted: Mon Nov 13, 2006 7:46 am   
 
is the ;; to send a blank line? if so change them to this
#alias test1 {up;#cr;down;right}

#alias test2 {up;#cr;down}
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Mon Nov 13, 2006 3:24 pm   
 
No, I was silly and used a load of comments in my triggers.
#cw blue
;This guy cuts of your head.
;and eats it
dead=1

Stuff like that.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Nov 13, 2006 8:34 pm   
 
Yeah, unfortunately this is a side effect of the dump single-line text export from zMUD. zMUD simply replaces newlines with ; and then outputs the script. So this results in the double ; characters. But this isn't a valid way to do comments in CMUD. CMUD requires the ; to be at the beginning of a line.

It's possible that this might get fixed, but probably not for a while. Your scripts will be more readable if you convert them to multiline scripts in CMUD.
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