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
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: 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
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: 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.
Reply with quote
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Tue Jan 07, 2003 2:43 am   
 
That still stops at the end of the line
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: 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'
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