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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Aleron
Wanderer


Joined: 01 Aug 2005
Posts: 76

PostPosted: Tue Aug 14, 2007 9:38 pm   

Sending output to the mud
 
Is there a command like #ECHO or #SAY that just sends the string to the mud?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Aug 14, 2007 9:44 pm   
 
Yep - #send or #exec, depending on what you want to use them for. #send doesn't echo the text to the screen.

In version 2, #send is going to work a little differently - it'll print the text to the screen and send it to the MUD just as if you'd typed it, but it'll skip out the part where CMUD checks for aliases in the line. #exec will still check for aliases.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Aleron
Wanderer


Joined: 01 Aug 2005
Posts: 76

PostPosted: Tue Aug 14, 2007 9:55 pm   
 
Thanks!
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Wed Aug 15, 2007 9:21 pm   
 
Well...so what do you do then if you don't want all of your commands echoed?

Right now I just toggle off and on between echoing them and not echoing them, but if #send is going to echo them also then what?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Aug 15, 2007 9:29 pm   
 
That's when you use the new #SENDRAW command, which works like the previous #SEND command and sends the data without any echoing or other processing.
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Wed Aug 15, 2007 9:43 pm   
 
Ah I see. Easy!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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