| Author | 
		Message | 
	
	
		The Cubbies Newbie
 
   Joined: Sep 08 2006 Posts: 9 Offline
  | 
		
			
			  
			    
				
					 Posted: Thu Sep 21, 2006 1:58 am     Post subject: All objects off | 
					  | 
					      | 
				 
			     
			   | 
			 
			
				
  | 
			 
			
				| Is there a way to toggle all objects off at the same time with Merv?  If I had 20+ objects on, it would be nice to not have to turn each off one at a time.  And if this can be done, can it be sent to a single person rather than the whole public? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		k0zy Server Help Squatter
  
   Gender:  Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
  | 
		
			
			  
			    
				
					 Posted: Thu Sep 21, 2006 11:06 am     Post subject:  | 
					  | 
					      | 
				 
			     
			   | 
			 
			
				
  | 
			 
			
				Best way would be to sendPrivate an "*objset"
 
 	  | Quote: | 	 		  After the objset command (either public or private), you will need a space. Then you will place a + or - symbol. Next comes the object's id number. At last, a comma at the end. You repeat this step for every object set you are toggling from the +/- to the end comma.
 
 
Example to turn on 5, off 80 and 90:
 
*objset +5,-80,-90, 
 
 | 	  
 
 
You have to know your object ids, though.
 
 
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole.... _________________ It's a shark! Oh my god! Unbelievable! | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Bak ?ls -s 0 in
  
  Age:26  Gender:  Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
  | 
		
			
			  
			    
				
					 Posted: Thu Sep 21, 2006 2:00 pm     Post subject:  | 
					  | 
					      | 
				 
			     
			   | 
			 
			
				
  | 
			 
			
				I think there's a better way where you send out an objset packet, rather than the chat packet containing the text "*objset ...".
 
 
Yup, use the queue_enable and queue_disable functions. If it doesn't do it automatically, you'll also need to do toggle_objects to dump the buffer. _________________ SubSpace Discretion: A Third Generation SubSpace Client | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		The Cubbies Newbie
 
   Joined: Sep 08 2006 Posts: 9 Offline
  | 
		
			
			  
			    
				
					 Posted: Thu Sep 21, 2006 2:21 pm     Post subject:  | 
					  | 
					      | 
				 
			     
			   | 
			 
			
				
  | 
			 
			
				| I use the toggle_objects already (btw all that does is make the bot group things into a *objset).  What I want to do is turn off all the objects that are on for a person without having to remember which ones are on. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Bak ?ls -s 0 in
  
  Age:26  Gender:  Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |