|  | 
	
	
		| Rexxon Beginner
 
 
 Joined: 28 Oct 2000
 Posts: 24
 Location: USA
 
 | 
			
			  |  Posted: Mon May 19, 2003 8:54 pm 
 Need some help with highlighting.
 
 |  
				| I came across a script to create highlight lists. For the most part, The script works like a charm. However, It only highlights the name when the name is at the very beggining of the line, If there is any text before hand, It won't highlight the name. 
 Trigger is:
 
 Pattern: @highlight1
 Value  : #CW 12
 Trigger on Trigger
 Trigger on Newline
 
 Is there anyone who can help me get it to highlight the name at all times, Even if it is within a string of text? Thanks for the help.
 
 
 When the world needs a hero...
 Rexxon the Mighty.
 |  | 
	
	  |  | 
	
		|  | 
	
		| LightBulb MASTER
 
 
 Joined: 28 Nov 2000
 Posts: 4817
 Location: USA
 
 | 
			
			  |  Posted: Mon May 19, 2003 9:58 pm 
 |  
				| Don't use the beginning-of-line character, ^. 
 LightBulb
 Advanced Member
 |  | 
	
	  |  | 
	
		|  | 
	
		| Rexxon Beginner
 
 
 Joined: 28 Oct 2000
 Posts: 24
 Location: USA
 
 | 
			
			  |  Posted: Tue May 20, 2003 4:30 am 
 |  
				| Actually, I wasn't using any characters before the pattern. It's just: 
 @highlight1
 
 Any ideas? Am I missing something?
 
 
 When the world needs a hero...
 Rexxon the Mighty.
 |  | 
	
	  |  | 
	
		|  | 
	
		| LightBulb MASTER
 
 
 Joined: 28 Nov 2000
 Posts: 4817
 Location: USA
 
 | 
			
			  |  Posted: Tue May 20, 2003 7:18 am 
 |  
				| Yes, you are indeed missing something. 
 @highlight1 is NOT your pattern. It's merely the name of a VARIABLE which contains your pattern.
 
 LightBulb
 Advanced Member
 |  | 
	
	  |  | 
	
		|  | 
	
		| Lain Novice
 
 
 Joined: 26 Oct 2001
 Posts: 38
 
 
 | 
			
			  |  Posted: Tue May 20, 2003 8:28 pm 
 |  
				| You need to put these {} around the variable name, this tells the trigger to match the strings found in the variable. 
 #TR {{@highlight1}} {#CW 12}
 
 Pattern: {highlight1}
 Value: #CW 12
 
 Lain
 |  | 
	
	  |  | 
	
		|  | 
	
		|  | 
	
		|  |