|
Sakieh Newbie
Joined: 10 Nov 2013 Posts: 5
|
Posted: Sun Nov 10, 2013 2:36 pm
page/whisper/tell highlighting help needed |
I am, frankly, not that technically savvy, and the MUCK's I go to do not have
ANSI colour in the MUCK code itself. I am hoping someone here can help
me by walking me through how I can use CMUD to make the output of
pages and whispers filtered into a different colour in the output on screen. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Sun Nov 10, 2013 4:58 pm |
Do you have some sample text?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Sun Nov 10, 2013 5:12 pm |
I have a stock trigger i use in almost all games:
#TR {, "*"} {#CW aqua}
it gets most 'spoken' text, provided the server does not break apart the line before displaying it to you. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Sakieh Newbie
Joined: 10 Nov 2013 Posts: 5
|
Posted: Sun Nov 10, 2013 5:28 pm |
Thank you, Shalimar. I am going to have to ask what will sound like a stupid question: how do I set that?
Where do I set it in Cmud, and, how do I set it so that it will handle things like
(name) pages, "hello!" to you.
or
In a page-pose to you, (name) waves!
As I said, I am not technically savvy. So I have no idea how to set something like this at all. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Sun Nov 10, 2013 6:08 pm |
you can actually paste that line of code on the command line
as for the page examples...
#TR {page*to you} {#CW violet} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Sakieh Newbie
Joined: 10 Nov 2013 Posts: 5
|
Posted: Tue Nov 12, 2013 3:43 am |
Ah! Thank you!
Now, for ones that don't have a set end, like page-poses, how would I do them? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Tue Nov 12, 2013 9:54 am |
Thats just it, so long as it is on one line, you dont actually have to set the end, you can use the shortest segment that will actually match without getting false positives.
Wildcards are used to 'fill in' for the variable segments of a line.
But without another example, I cant get more specific. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|