|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Jul 12, 2007 3:12 pm
[1.34] Data record variable parsing on the command line |
I found a strange little behavior in CMUD regarding a difference in how it parses my data record variables when typed on the command-line. I have a simple data record variable to track my pipe properties (id, puffs, status). I reported this, and Zugg is unable to reproduce it. I can reproduce it with clean 1.34 installations on two different PCs (one Vista, one XP SP2) and a blank profile, so I'm asking for help.
Works on the command-line:
Code: |
#ADDKEY pipe_faeleaf id 12345
probe @pipe_faeleaf.id |
Does not work on the command-line:
Code: |
#ADDKEY pipe_faeleaf id 12345
give @pipe_faeleaf.id to person |
In the second instance, I get "give to person" without even an extra space (leading and trailing). It's not restricted to this one data record variable, of course, either. I can reproduce it with any name, key, and value, it seems. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Jul 12, 2007 4:32 pm |
It works fine for me.
|
|
_________________ Asati di tempari! |
|
|
|
Zhiroc Adept
Joined: 04 Feb 2005 Posts: 246
|
Posted: Thu Jul 12, 2007 5:27 pm |
zMUD had an "Expand Vars" preference, but I don't see it in CMUD. Maybe it got imported from a zMUD session and is being obeyed in CMUD even though it can't be set through the UI? I do see the pref though... do #SHOW %pref("ExpandVars")
|
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Jul 12, 2007 5:33 pm |
My variables are expanding, except in the very specific case where the variable is @var.key and has text following it. My ExpandVars setting was 0, strangely enough, though changing it to 1 had no effect at all.
|
|
|
|
|
|