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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Xitium
Newbie


Joined: 28 Mar 2006
Posts: 1

PostPosted: Mon Nov 13, 2006 6:03 pm   

Help with colors and windows needed
 
I am trying to make it so that all of the chat, tells and group talking goes into one window so that I am less likly to have it scroll past at super sonic speed when I am fighting. I have created a window and can move the text into the new window but I have a couple of questions.

Is there a way to just move the line that matches the pattern so that all of the colors sent by the mud are in the new window? currently when it writes it to the new window it is in cyan. I know I can change the color with %ansi however sometimes people change the colors of their text so I would like to import exactly what would have been displayed to the mud.

Also is there a way that I can hide the output from the mud and have it only show up in this new window?

Examples

(How it would look in the mud)
Name1 tells the group 'Hello everyone!'

(How it currently looks in my new window)
Name1 tells the group 'Hello everyone!'

I would want it to look the same in the output window as it would look on the mud.

Thanks in advance
Reply with quote
seyalas
Newbie


Joined: 13 Nov 2006
Posts: 3
Location: Denmark

PostPosted: Mon Nov 13, 2006 8:46 pm   
 
What you want is the #capture and #gag commands:

#trig {(*) tells the group (*)} {#capture chat;#gag}

That would send the line, with colours, to a window called "chat", and delete it from the main window.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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