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
redka
Newbie


Joined: 29 Jul 2011
Posts: 1

PostPosted: Tue Aug 02, 2011 2:51 pm   

#SUB colour problem
 
Hi. I'm currently using CMUD v3 trial version and i have a problem with every #subbed trigger.
What i was trying to do: A long line from mud (as trigger) was subbed in something like
Code:
#SU {%ansi(cyan)SOME WORDS %ansi(magenta)$target --> $where -- $how}

It works fine on its own. But. If a line containing another trigger (with a #cw or #pcol or anything like that) is preciding my coloured #sub line, my #sub color changes to that first line in same places.
Examples:
#1
Line 1 from mud is coloured Green entirely.
Line 2 Line with #su is not cyan and magenta anymore, it is green.

#2
Line 1 where first word (which has 5 letters) is being coloured yellow.
Line 2 with my #su beginning with 5 letters in yellow and others folowing my #sub colour pattern with cyan and magenta.

It would be fine and acceptable. But if the preceding line contains [##### ] or something like that then the whole other line looks like that. Letters are being replaced by previous [##### ] characters.

My question is: Is there a way to avoid that? Or shall i just stop using #su?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Aug 02, 2011 8:29 pm   
 
I think we need to see actual examples. Can you give us the actual trigger code (in XML format), plus the two lines from the mud?
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