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


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 6:15 am   

changing page/chat colors on screen
 
How do you change the color of pages or separate chat forums on your display screen?
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Dec 15, 2007 8:39 am   
 
I'm not sure what you mean by "pages" or "forums" in this case - those aren't words we normally use to describe anything CMUD does. Perhaps screenshots would help you explain what you mean? If you take some, put rings round the stuff you mean with mspaint, and then upload them to imageshack, we might better understand what you're after.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 5:34 pm   
 
It is pretty vague, isn't it... My apologies.

Let's see if I can pull off an example, it'll take less time than for me to figure out how to get a screenshot. Pretend this is a MUSH, or MUD, or whatever, and this is what you see on the screen:

Bob is making eggs for breakfast. "Anyone hungry?"
[Public] Jane says "Has anyone seen Joe today?"
Velma pages: "How's the new puppy?"

Now, I would like all of those to come up on my display screen in different colors. That way, when there's a lot of chatter I can easily separate in game, pages, and [Public]. Is that a little better? Embarassed
Reply with quote
Asilient_1
Apprentice


Joined: 26 Apr 2007
Posts: 113

PostPosted: Sat Dec 15, 2007 5:40 pm   
 
If your MUD does not allow you to change the colors internally you could trigger each type of communication.
Code:

#TRIGGER {^~[Public~] %w says "*"} {#CO white}

#TRIGGER {^%w pages: "*"} {#CO blue}


I'm not sure how you'd trigger the example I haven't touched on. I'd assume it's some sort of emote, so the text can vary greatly.

Hope this helps.
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 5:45 pm   
 
And I just type that on the command line?
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 6:20 pm   
 
Okay, I can't get that to work no matter where I type it. And believe me, I've put it places it probably wasn't meant to be.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Dec 15, 2007 6:30 pm   
 
Yep, the #trigger command creates triggers. You can also create them manually with the settings editor if you want.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Dec 15, 2007 6:46 pm   
 
Yes.

[Edit] Ninja'd again.
_________________
Asati di tempari!

Last edited by Tech on Sat Dec 15, 2007 6:48 pm; edited 1 time in total
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 6:47 pm   
 
But nothing's happening. I just want incoming pages to appear in a different color than the rest of the text on the screen, scratch the [Public]... And it is so not working.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Dec 15, 2007 6:54 pm   
 
What exactly is the trigger you've created, and what exact text isn't it matching?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 6:58 pm   
 
I copy/pasted what Tech wrote up there, asked someone to page me, and that page did not come up as blue. I even tried changing the color name. Nadda.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Dec 15, 2007 7:10 pm   
 
I just tested this and it worked just fine for me.

Couple of questions. What version of CMUD are you running? When you go to you settings editor do you see the two triggers? Are they enabled? How many windows do you have? Are you triggers in the same window where you're receiving the text?
_________________
Asati di tempari!
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 7:24 pm   
 
CMUD 2.18? Yes. Yes. One. Yes.
Reply with quote
dm
Newbie


Joined: 15 Dec 2007
Posts: 8

PostPosted: Sat Dec 15, 2007 8:56 pm   
 
Urg, finally got it.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sun Dec 16, 2007 11:00 am   
 
What was the problem, if you don't mind me asking? In case someone has the same issues in the future.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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