|
Moab Beginner
Joined: 02 Aug 2008 Posts: 25
|
Posted: Sat Aug 02, 2008 12:18 am
Pattern Matching |
hey, I was trying to set up a pattern match trigger to colorize a line of text and couldn't quite figure out how to do it. Seems things have changed a little from Zmud?
Sample Text:
102 102 116 sneaking>sip mug
You sip from your chipped, red-clay mug.
This tastes like ordinary ale.
102 102 116 sneaking>l
A Cramped, Blackened Room [EWU]
An overpowering smell of burnt flesh and wood stiffles the air in this
End Sample
What I would like is to get the "102 102 116 sneaking>" matched and colorized to yellow.
I tried a trigger like this:
%d %d %d %w>
#co yellow
(this is in the package editor)
What am I doing wrong?
Thanks! |
|
|
|
Toxic Adept
Joined: 27 May 2008 Posts: 299
|
Posted: Sat Aug 02, 2008 2:19 am |
#TR {^%d %d %d %w~>} {#CW yellow}
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Aug 02, 2008 10:06 am |
You need to set the trigger to operate on a prompt instead of a new line.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Moab Beginner
Joined: 02 Aug 2008 Posts: 25
|
Posted: Sat Aug 02, 2008 11:48 am |
thanks folks!
|
|
|
|
|
|