|  | 
	
	
		| HerenIstarian Novice
 
 
 Joined: 30 Oct 2005
 Posts: 40
 
 
 | 
			
			  |  Posted: Sun Feb 06, 2011 6:25 am 
 Coloring one word in a line.
 
 |  
				| So I'm trying to color particular words only in particular lines. I've been able to color words in the past but then it colors that word whenever it appears in the mud. I just want the word colored for that line. I'll give a line for example: 
 You easily absorb a forceful attack with your dagger!
 
 Would look like:
 
 You easily absorb a forceful attack with your dagger!
 |  | 
	
	  |  | 
	
		|  | 
	
		| Fizgar Magician
 
 
 Joined: 07 Feb 2002
 Posts: 333
 Location: Central Virginia
 
 | 
			
			  |  Posted: Sun Feb 06, 2011 7:26 am 
 |  
				| #PCOL is the command you want.  The trigger for the example you gave would look something like the one below. 
 
 
 
	  | Code: |  
	  | <?xml version="1.0" encoding="ISO-8859-1" ?> <cmud>
 <trigger priority="10" copy="yes">
 <pattern>^You easily (absorb) a forceful attack with your (dagger)!</pattern>
 <value>#pcol dodgerblue %x1
 #pcol orangered %x2
 </value>
 </trigger>
 </cmud>
 |  |  | 
	
	  | 
		    
			  | _________________ Windows Vista Home Premium SP2 32-bit
 AMD Athlon Dual Core 4400+ 2.31 GHz
 3 GB RAM
 CMUD 3.34
 |   |  | 
	
		|  | 
	
		|  | 
	
		|  |