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


Joined: 19 Apr 2010
Posts: 3

PostPosted: Wed Nov 17, 2010 3:31 am   

Line Wrap on Color Trigger
 
So I'm having a bit of an issue getting my color trigger to wrap to the next line. It will color the first line, but not any of the lines that follow. I'm not exactly sure what's going on, I use the same trigger on another character, in the same game, and the colors line wrap just fine. (It's not the hex code that affects it, since I'v tried using 'deeppink' to see if that's the issue, and there's still no line wrap.) Please help?

Quote:
vs.

is

and vs.
Reply with quote
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Wed Nov 17, 2010 4:17 am   
 
This appears to be working fine for me in 3.32 Looking at the think message you have above that is colored correctly the second and third lines are indented. The tell message isn't though. Can you paste the output from the script debugger, with all options enabled in the Messages menu, when you send the test tell in code tags? Also this is happening in what version of CMUD?
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Nov 17, 2010 1:44 pm   
 
Looking at the mud output, it appears to me that for the 'tell' command, the mud itself is wrapping the line, while for the 'think' command, the mud is not wrapping, so the wrapping is handled by Cmud. If this is the case, then the first thing to do is see whether you can turn off the line-wrapping in the mud. Unfortunately, I've seen muds that have a linewrap option, but still internally wrap certain kinds of output. :-( If you can't change the mud behavior, you will have to write a trigger that will catch the successive lines and properly color them. I don't see any mud prompts in your output. Does the mud send prompts? If so, you should be able to make a multistate trigger that catches the successive lines after the initial 'tell' output, and a prompt trigger that resets the state of the multistate trigger when the prompt comes.
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