|
RobMacAF Apprentice
Joined: 09 Jun 2002 Posts: 186 Location: USA
|
Posted: Mon Jan 06, 2003 10:14 pm
Asking once again |
I made a trigger that highlights "You also see" and everything that is after it but I ran into a slight problem. It stop at the end if the line. So if I have
"You also see a chair, a couch, a bench, a carrot, a pineapple."
Then it would highlight all the way up to the a before carrot. I want it to be able to highlight from You also see until it reaches a period no matter how many lines down it is. Is this possible? There are alot of places in my MUD (which is Dragonrealms) that I would like for this to be possible for. Any help would be appreciated. Thank you much |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Mon Jan 06, 2003 10:18 pm |
sure, try this
#tr {You also see} {
#hi
#t+ hilighteverthing
}
#class {hilighteverything} {disable}
#tr {*} {#hi}
#tr {.} {#t- hilighteverything}
#class 0
there might also be a neat way to do this using some of the new trigger states, i haven't used them enough to say. |
|
|
|
RobMacAF Apprentice
Joined: 09 Jun 2002 Posts: 186 Location: USA
|
Posted: Tue Jan 07, 2003 2:43 am |
That still stops at the end of the line
|
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Tue Jan 07, 2003 3:34 am |
whoops looks like i put a mispelling int there
#tr {You also see} {
#hi
#t+ hilighteverything
}
#class {hilighteverything} {disable}
#tr {*} {#hi}
#tr {.} {#t- hilighteverything}
#class 0
there that should work with the added 'y' |
|
|
|
|
|