|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: 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 |
|
|
|
darkspot Apprentice
Joined: 29 Jul 2002 Posts: 105
|
Posted: 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} |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: 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 |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
|
|
|