|  | 
	
	
		| Kheri_ Wanderer
 
 
 Joined: 11 Oct 2005
 Posts: 58
 
 
 | 
			
			  |  Posted: Sat Jun 03, 2006 2:37 am 
 room name changes
 
 |  
				| problems with the map recognizing rooms.. 
 Across the desert {dark}
 
 Across the desert
 
 same room
 |  | 
	
	  |  | 
	
		|  | 
	
		| MattLofton GURU
 
 
 Joined: 23 Dec 2000
 Posts: 4834
 Location: USA
 
 | 
			
			  |  Posted: Sat Jun 03, 2006 6:47 pm 
 |  
				| 
 A simple #tag trigger should do the trick here.  The key is to make sure it matches both instances:
 
 #trigger {^[%w%s]{ ~{dark~}|%q}} {#tag name}
 |  | 
	
	  | 
		    
			  | _________________ EDIT: I didn't like my old signature
 |   |  | 
	
		|  | 
	
		| Kheri_ Wanderer
 
 
 Joined: 11 Oct 2005
 Posts: 58
 
 
 | 
			
			  |  Posted: Sun Jun 04, 2006 1:19 am 
 |  
				| ok, cool. i tried to make a tag one before. what is the %s and %q? thank you
 |  | 
	
	  | 
		    
			  | _________________ Old
 |   |  | 
	
		|  | 
	
		| Taz GURU
 
 
 Joined: 28 Sep 2000
 Posts: 1395
 Location: United Kingdom
 
 | 
			
			  |  Posted: Sun Jun 04, 2006 1:36 am 
 |  
				| See Pattern Matching. This will tell you everything you need to know about patterns. 
 |  | 
	
	  | 
		    
			  | _________________ Taz :)
 |   |  | 
	
		|  | 
	
		| Kheri_ Wanderer
 
 
 Joined: 11 Oct 2005
 Posts: 58
 
 
 | 
			
			  |  Posted: Sun Jun 04, 2006 1:40 am 
 |  
				| thanks taz and matt :) guess i'll go look through the help files again too.
 |  | 
	
	  | 
		    
			  | _________________ Old
 |   |  | 
	
		|  | 
	
		| MattLofton GURU
 
 
 Joined: 23 Dec 2000
 Posts: 4834
 Location: USA
 
 | 
			
			  |  Posted: Sun Jun 04, 2006 4:30 am 
 |  
				| %s matches whitespace.  Single spaces (like in a sentence), tabs and multiple consecutive spaces, and similar items that aren't control codes or carriage returns. 
 %q is a modified version of $ and ^.  Basically it's adding %s to $ and ^.  Maybe %p (for punctuation), but I forget that part.
 |  | 
	
	  | 
		    
			  | _________________ EDIT: I didn't like my old signature
 |   |  | 
	
		|  | 
	
		|  | 
	
		|  |