TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

tt++ 1.97.9 - Missing '{' error

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
nikolausv



Joined: 13 Feb 2008
Posts: 5

PostPosted: Wed Feb 13, 2008 3:36 pm    Post subject: tt++ 1.97.9 - Missing '{' error Reply with quote

Hi Guys,

My mud uses {? as it's colour flag.

Is there a way to escape the { character in command files, using the new version(1.97.9)?
I was[am] using 1.93. Scandum hacked a small fix to that version so that \{? made #read ignore the extra escaped {.

As
Code:
#ALIAS {myprompt} prompt {c<%h/%Hhp %m/%Mm %v/%Vmv %Xtnl{c> {G%p {R%B {x

breaks #read. Missing braces error.

Is there a way to write the above alias so that Tintin's #read sees a UNIcode or ANSI character [*shrug* {= "\e123" or something?? ], but still sends braces "{" to the mud when I use the alias.

N
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3844

PostPosted: Wed Feb 13, 2008 4:49 pm    Post subject: Reply with quote

You need to use hex now, from #help escape:

\x7B will send the '{' character.
\x7D will send the '}' character.

man ascii will give a complete table with hexadecimal codes.

\[ and \] will work as well to send { and }
Back to top
View user's profile Send private message Send e-mail
nikolausv



Joined: 13 Feb 2008
Posts: 5

PostPosted: Wed Feb 13, 2008 6:52 pm    Post subject: Reply with quote

Thanks Scandum.... (& I did spend a good long time searching for the solution before posting - oh well Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group