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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Darenwin
Newbie


Joined: 15 Aug 2008
Posts: 3

PostPosted: 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
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: 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
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: 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.
Reply with quote
Darenwin
Newbie


Joined: 15 Aug 2008
Posts: 3

PostPosted: 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.
Reply with quote
Zugg
MASTER


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

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