|
kymon Novice
Joined: 29 Jan 2003 Posts: 40
|
Posted: Wed Dec 13, 2006 12:13 pm
[1.23] command separator |
my command separator is broken. i checked in options, and the separator char (;) is enabled. is there another place i could check?
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 13, 2006 1:24 pm |
What isn't it working in? The command line? Scripts? Everything?
|
|
|
|
kymon Novice
Joined: 29 Jan 2003 Posts: 40
|
Posted: Wed Dec 13, 2006 2:21 pm |
command line
|
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Wed Dec 13, 2006 2:57 pm |
Did you disable parsing? Can you show us the exact commands you're trying to execute? Is this a fresh installation or an upgrade?
|
|
|
|
cazador Apprentice
Joined: 08 Dec 2005 Posts: 108
|
Posted: Wed Dec 13, 2006 3:22 pm |
I have seen that if i do something like this:
get all corpse ; sac corpse at the command line it does not work,
but if I do
get all corpse;sac corpse
w/o spaces then it works fine. Is this what you are seeing kymon? |
|
|
|
kymon Novice
Joined: 29 Jan 2003 Posts: 40
|
Posted: Wed Dec 13, 2006 4:47 pm |
that's exactly it! "say hi;say ho" works, "say hi; say ho" doesn't.
|
|
|
|
crycry Apprentice
Joined: 24 Jun 2006 Posts: 169 Location: UK - South Coast
|
Posted: Wed Dec 13, 2006 4:58 pm |
so just the one with the space doesnt work? er.. take out the space?
|
|
_________________ 'Life is what happens, when your too busy doing something else'
_________________
XP Pro SP2
cMud 1.24
_________________ |
|
|
|
Thinjon100 Apprentice
Joined: 12 Jul 2004 Posts: 190 Location: Canada
|
Posted: Wed Dec 13, 2006 5:03 pm |
I /think/ the ;<space> syntax is intentional, so that in writing sentences which use semicolons, the command-line parser doesn't split your sentence up into multiple commands. I always put stacked commands immediately following the semicolon.
|
|
_________________ If you're ever around Aardwolf, I'm that invisible guy you can never see. Wizi ftw! :) |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 13, 2006 5:22 pm |
Yeah, that's exactly right Thinjon.
|
|
|
|
kymon Novice
Joined: 29 Jan 2003 Posts: 40
|
Posted: Wed Dec 13, 2006 5:24 pm |
sounds sensible :)
i just didn't pay attention to the space when i first tried, iirc it worked in zmud even with the space, so cmud has a different behaviour. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Dec 13, 2006 6:31 pm |
Spaces are not allowed around the ; character. If you put spaces around it, then the "smart command line" thinks you are sending english text to the MUD instead of trying to use multiple commands.
This change from zMUD allows you to use the ; characters on MUDs that need it and in normal chats. This is a *fix* from the zMUD behavior. |
|
|
|
|
|