Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Rugbystyle
Wanderer


Joined: 07 Oct 2001
Posts: 71

PostPosted: 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?
_________________
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: 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
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: 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?
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: 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?
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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.
Reply with quote
Ahlgren
Beginner


Joined: 13 Oct 2000
Posts: 14
Location: Denmark

PostPosted: Fri Jul 23, 2004 9:55 am   
 
Do this: #SEND {drink health}
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net