|  | 
	
	
		| mastersonc Newbie
 
 
 Joined: 16 Aug 2006
 Posts: 3
 
 
 | 
			
			  |  Posted: Wed Aug 16, 2006 2:38 am 
 Newbie help
 
 |  
				| Ok I have scripted anything for about 4 years, and I am interested in looking at this zmud for my new script mainly because of the zmapper, and other things.  HOWEVER I cant even get a simple hp trigger to work, this is my prompt <1340hp#472m#405mv>5go[An Elaborately Decorated Hallway]
 I have tried a hundred differetnt ways to get that to work but I cant, PLEASE help
 |  | 
	
	  |  | 
	
		|  | 
	
		| MattLofton GURU
 
 
 Joined: 23 Dec 2000
 Posts: 4834
 Location: USA
 
 | 
			
			  |  Posted: Wed Aug 16, 2006 3:12 am 
 |  
				| #trigger {~<(%d)hp~#(%d)m~#(%d)mv~>(%d)go~[(*)~]} {hp = %1;other variables here} "" {nocr|prompt} 
 |  | 
	
	  | 
		    
			  | _________________ EDIT: I didn't like my old signature
 |   |  | 
	
		|  | 
	
		| mastersonc Newbie
 
 
 Joined: 16 Aug 2006
 Posts: 3
 
 
 | 
			
			  |  Posted: Wed Aug 16, 2006 3:33 am 
 |  
				| Ok that works perfectly, now if you dont mind can someone answer me this whats the "" at the end with {nocr|prompt} I assume the nocr no carriage return and the prompt put it in its class but the "" has got me  for a loop
 |  | 
	
	  |  | 
	
		|  | 
	
		| shalimar GURU
 
  
 Joined: 04 Aug 2002
 Posts: 4774
 Location: Pensacola, FL, USA
 
 | 
			
			  |  Posted: Wed Aug 16, 2006 4:38 am 
 |  
				| its where the class would go, it is left blank to force it into the root class 
 |  | 
	
	  | 
		    
			  | _________________ Discord: Shalimarwildcat
 |   |  | 
	
		|  | 
	
		| MattLofton GURU
 
 
 Joined: 23 Dec 2000
 Posts: 4834
 Location: USA
 
 | 
			
			  |  Posted: Wed Aug 16, 2006 4:46 am 
 |  
				| if you open up the settings editor a click on the trigger, then click on the options tab, you will notice two check boxes in the Trigger on: frame.  The first one says Newline, the second says Prompt.  nocr means that the Newline checkbox is unchecked.  prompt means that the Prompt checkbox is checked. 
 |  | 
	
	  | 
		    
			  | _________________ EDIT: I didn't like my old signature
 |   |  | 
	
		|  | 
	
		|  | 
	
		|  |