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
shaughn2323
Beginner


Joined: 29 May 2009
Posts: 11

PostPosted: Fri May 29, 2009 1:17 pm   

I am Zmud dumb, change color question.
 
I would like to change the default color of the gossip channel on the mud I play. The gossip channel currently shows up as a green color, which is the same color as combat text which makes it hard to catch the gossip channel when in combat.

I would like to know how to change the gossip channel color to a different color whenever someone gossips something.

Please remember I am Zmud dumb so I will need a detailed description of what to do. I have tried reading other posts and cant seem to figure it out.

Thank you.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Fri May 29, 2009 4:18 pm   
 
It depends exactly what the line looks like. Show us some examples. I'm going to assume that it looks like this:

Steve gossips, 'whatever'

Like all problems, there any many solutions of varying complexity. The simplest by far is just to type this on the command line:

#trigger {gossip} {#color red}

Which will create a trigger that fires on the word "gossip" and colors the line red. Depending on how often the word "gossip" appears outside the gossip channel, you may get a lot of false positives, but it'll be better than nothing :)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
shaughn2323
Beginner


Joined: 29 May 2009
Posts: 11

PostPosted: Fri May 29, 2009 4:28 pm   
 
you assumed right as far as Steve gossips, 'whatever'. Now do I just copy and paste #trigger {gossip} {#color red} to the pattern and put nothing in the value?..also if I want to have it set to cyan in place of red do I just type {#color cyan}? like I said im zmud dumb apprently, and I do appreciate you help. BTW im using zmud 7.21
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Fri May 29, 2009 10:01 pm   
 
I said, type it on the command line and hit enter. If you click "triggers" on the toolbar you'll see the trigger that this creates.

There are a ton of valid colors - you can use all the html color names (google for a list).
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
rhombur
Beginner


Joined: 13 Oct 2005
Posts: 24
Location: Illinois

PostPosted: Sun Jun 21, 2009 7:02 pm   
 
would be easier to know what to do if you were to give a sample of the gossip string.

Bandicoot gossips, "i found a dendrophilia fetish... whats this do?"

#trigger {^(*) gossips, "(*)"} {#sub {%ansi(cyan,hi)%1 on Gossip says, "%2"}}
_________________
Niax Rhasu
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