|
Aleron Wanderer
Joined: 01 Aug 2005 Posts: 76
|
Posted: 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?
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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. |
|
|
|
Aleron Wanderer
Joined: 01 Aug 2005 Posts: 76
|
Posted: Tue Aug 14, 2007 9:55 pm |
Thanks!
|
|
|
|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: 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? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Wed Aug 15, 2007 9:43 pm |
Ah I see. Easy!
|
|
|
|
|
|