  | 
	
	
	
		Rugbystyle Wanderer
 
  Joined: 07 Oct 2001 Posts: 71
 
  | 
		
		  
			
			   Posted: Mon Jul 19, 2004 7:36 pm   
  Sending a hidden command to the mud   | 
			 
			
				Is there a feature or way that I can have say a specific trigger or alias send the commands to the mud, but not have it scroll or show the commands on my screen?  Without using the #GAG command, and still maintain the normal output from all other settings?
  | 
			 
		  | 
	
	
	  
		  
		    
			  _________________   | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		Charbal GURU
 
  Joined: 15 Jun 2001 Posts: 654 Location: USA
  | 
		
		  
			
			   Posted: Mon Jul 19, 2004 7:40 pm   Re: Sending a hidden command to the mud   | 
			 
			
				Yep, you're looking for the #SEND command.  For example,
 
 
#SEND supersecretpassword | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ - Charbal | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		Theragil Apprentice
  
  Joined: 13 Feb 2004 Posts: 157 Location: USA
  | 
		
		  
			
			   Posted: Tue Jul 20, 2004 9:45 pm      | 
			 
			
				I tried using this to cut spam, replacing
 
drink health
 
#gag
 
with
 
#send drink health
 
for instance, and nearly got killed in my next fight when health elixir never got sipped.  The help page on #SEND is not very clear about what it does and doesn't seem to corroborate what you say it does either.  I must be missing something very simple.  Can anyone clarify? | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		mr_kent Enchanter
 
  Joined: 10 Oct 2000 Posts: 698
 
  | 
		
		  
			
			   Posted: Wed Jul 21, 2004 3:00 am      | 
			 
			
				Is drink a defined alias in your settings?
 
What version of zMud are you using?
 
 
#SEND drink health will send the two words drink health to the mud.
 
 
You can test the #SEND command by asking a friend to tell you what he sees when you use #SEND outside of combat. ie. #SEND tell joe Is this a question? | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Theragil Apprentice
  
  Joined: 13 Feb 2004 Posts: 157 Location: USA
  | 
		
		  
			
			   Posted: Wed Jul 21, 2004 5:57 pm      | 
			 
			
				drink isn't an alias, it's a MUD command.  #SEND drink health was not sending "drink health" to the MUD, hence I almost died.  (I had to type "drink health" myself to survive until I went back and took the #send out.)  I'm using v7.05.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		LightBulb MASTER
 
  Joined: 28 Nov 2000 Posts: 4817 Location: USA
  | 
		
		  
			
			   Posted: Wed Jul 21, 2004 6:36 pm      | 
			 
			
				I don't know why #SEND drink health wasn't working for you, but there is a lesson here. If something is critical to your survival, test it before relying on it. 
 
 
I intend investigating the #SEND command myself, hopefully someone will find where the problem is soon. | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ LightBulb
 
Senior member
 
 
Most scripts in this forum are written for Command Line entry. 
 
Don't even open the Settings Editor unless its use is specified or obvious. | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		Ahlgren Beginner
 
  Joined: 13 Oct 2000 Posts: 14 Location: Denmark
  | 
		
		  
			
			   Posted: Fri Jul 23, 2004 9:55 am      | 
			 
			
				Do this: #SEND {drink health}
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Theragil Apprentice
  
  Joined: 13 Feb 2004 Posts: 157 Location: USA
  | 
		
		  
			
			   Posted: Fri Jul 23, 2004 6:03 pm      | 
			 
			
				#send "drink health" is working fine, actually.  I've got #send all over my system now.  :)  Sometimes I have to use an %eval() to get it to work (%1 is evaluated in a #send but @Variable isn't without the %eval()) but it always can be gotten to work.  Has made a big difference.  This forum is great for these little tips.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		| 
		
		 | 
	
	
		 |