|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Mon Sep 02, 2002 5:19 pm
using #WRITE command |
HI guys,
I need to write to a file the [ char
contained in a var and read it from a file
ie:
#VAR Title "[CDS]"
...
#WRITE 1 @Title
...
...
#READ 1 @Title
....
then have the Title var correctry "[CDS]"
how can I do? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Sep 02, 2002 6:15 pm |
quote:
HI guys,
I need to write to a file the [ char
contained in a var and read it from a file
ie:
#VAR Title "[CDS]"
...
#WRITE 1 @Title
...
...
#READ 1 @Title
....
then have the Title var correctry "[CDS]"
how can I do?
Try using the quote character (the tilde by default, ~).
li'l shmoe of Dragon's Gate MUD |
|
|
|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Mon Sep 02, 2002 6:28 pm |
no way. zMUD "loses" the brackets [ ...
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Sep 02, 2002 10:51 pm |
quote:
no way. zMUD "loses" the brackets [ ...
hmm, ok, it's probably parsing them as...evaluation? Whatever it does, there's a setting in Preferances to turn it off. If you're not big on using [] in your scripts for that purpose, you should be able to safely turn this option off without problems.
Not really sure if doing so will turn off the trigger-parser's range-list symbol, but I don't think it will (different purpose, different parser).
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|