|
Darenwin Newbie
Joined: 15 Aug 2008 Posts: 3
|
Posted: Wed Jun 15, 2011 8:45 pm
Semicolon Parsing |
I have a quick question.. Maybe you guys can help prove me wrong so I can fully commit to cMUD.
The old (zMUD) usage of ";" to seperate commands did not require and it would not freak out with any space before or after the ";" to work. You could do
Eat meat; stand ; walk east
And it would parse the commands.
From my quick usage of cMUD, I saw that I had to do it like this
Eat meat;stand;walk east
You cannot have any spaces before the semicolon. Obviously not a huge thing, but definitely it's different and it messes me up.
I had to reinstall cMUD to find out what the problem was again, so I have it and I'll try it out. But After testing it for a day, I found that it was extremely annoying that I can't use such an amazing program because of some habbit I have and don't want to change....
Noe to the question, is there some parsing option I can change to make it so that I can put spaces before and/or after my semi-colon?
Thanks in advance guys.
- Darenwin |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Thu Jun 16, 2011 5:34 am |
i have never had an issue with them myself...
is this inside of a setting (trigger alias, etc) or on the command line?
if its a setting, its actually prefered that each command be on a seperate line, and then the semcolons are implied
as a quick fix... just stick a #SEND in front of your command line stacked commands and they should fire off just fine |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Jun 16, 2011 2:58 pm |
I, too, haven't had problem with spaces before the colon. What exactly happens when you put a space before a colon? Your post doesn't say.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Thu Jun 16, 2011 3:29 pm |
I think if you go to Preferences -> User Interface -> Command Line and uncheck Smart Command Line, that might be what you're looking for.
I don't know for sure; but give it a try. Just know that you'll lose the benefits of it as well. |
|
|
|
Darenwin Newbie
Joined: 15 Aug 2008 Posts: 3
|
Posted: Thu Jun 16, 2011 4:03 pm |
Thanks guys for replying. I am not referring to anything in my scripts/triggers/alias.
What I mean is this:
I can do this in zmud command line:
e; n; st; look man; draw sword;
In Cmud, it would HAVE to be:
e;n;st;look man;draw sword;
No spaces after the color. Not before it, but after it. When I put it like this:
st; e
That exact string gets sent to my mud resulting in the mud's approximation of a bad command. So it's not actually parsing the line if I have a space after the semi-colon.
I hope that makes more sense. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jun 16, 2011 5:21 pm |
You are correct. CMUD does not allow spaces around the ; character. zMUD was never supposed to allow spaces there either and that was considered a bug in zMUD.
|
|
|
|
|
|