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: Sun Aug 10, 2003 6:02 pm   

Highlighting
 
I have a name highlighted Exo but when the player Exodus walks in it highlights the Exo section of his name. How do I make it do it only highlights Exo.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Aug 10, 2003 6:32 pm   
 
In the Trigger for "Exo" put "Exo$" without the qoutations ofcoarse

not for sure this will work because my zmud is down so I can't test it but will do so as soon as i get it back up and running.
Reply with quote
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Tue Aug 12, 2003 7:15 pm   
 
Ok, the only problem with this is it will only match the name at the end of the sentance... So if I get.. You see Exo sitting down.
Then it won't highlight it
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Aug 12, 2003 10:34 pm   
 
You have to take care of three possibilities:
1. Exo walks in
2. You give the sword to Exo
3. You see Exo standing here

This means you need three triggers:
#TRIGGER {^Exo } {commands}
#TRIGGER { Exo{,|.| }} {commands}
#TRIGGER { Exo$} {commands}

Delete any of those that are not a possibility (like a name may not appear at the end of a line without a period following it).
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