This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
]
]DnA[
Post
by ]DnA[ » Fri Mar 21, 2003 11:32 am
Sorry but I do not speak very well English
for whichever setting
example:
set lamer "]DnA[" = incorrect
What is the version corrected with the subject ]Dna[?
thanks
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Fri Mar 21, 2003 12:13 pm
The [ is what's causing problems here. It is a special char in tcl that is used to execute commands, so if you want it to be part of a string without executing stuff you need to escape it some how...there's two ways to do that:
set lamer {]DnA[}
or
set lamer ]DnA\[
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Fri Mar 21, 2003 1:52 pm
Actualy is set lamer \]DnA\[
Once the game is over, the king and the pawn go back in the same box.
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Fri Mar 21, 2003 2:12 pm
You don't need the \ with a ].
It is only when the [ is not escaped, does the issue happen.
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Fri Mar 21, 2003 5:05 pm
I've tested it again and seems you are right. Guess I've tested first like: ]DnA[ and then added the \'s.. My appologies.
Once the game is over, the king and the pawn go back in the same box.