Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
patryn
Apprentice


Joined: 26 Sep 2001
Posts: 124

PostPosted: Thu Mar 08, 2007 9:29 am   

%ansi colour and braces
 
Please feel free to point me in the right direction if I shouldn't really be posting things like this on here. I imagine there must be a thread somewhere where something like this has already been brought up but I haven't been able to locate it.

It seems that ansi colours all turn grey if the coloured sentence is surrounded by braces. Also some trouble with the usage of // for comments

Below is a few examples to show what i mean exactly

Code:
#Show {%ansi( red)Logon Mode%ansi( white): On.} //comment
#Show %ansi( red)Logon Mode%ansi( white): On.
#Show %ansi( red)Logon Mode%ansi( white): On. //comment


The first line will return 'Logon Mode: On' in all grey.
The second line will return 'Logon Mode: On' coloured properly
The third line will return 'Logon Mode: On /comment/comment' coloured properly
_________________
That which does not kill us, makes us stronger.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Thu Mar 08, 2007 10:10 am   
 
The main direction, for bugs, is to put the version of CMUD in the subject so that we can easily see what version it applies too. Normally bug reports are posted to the Beta forum and not General Discussion (but nevermind - Zugg will see it anyway).
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Mar 08, 2007 3:25 pm   
 
Works fine if you remove the spaces from the %ansi function. The comment thing is still broken, though.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
patryn
Apprentice


Joined: 26 Sep 2001
Posts: 124

PostPosted: Thu Mar 08, 2007 11:20 pm   
 
Ah thanks very much. It was Cmud v1.25

Removing the spaces does indeed sort everything out.
I will post in the Beta Forum from now on
_________________
That which does not kill us, makes us stronger.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net