Echo of text sent to MUD by scripts

Posted by Mav on Sat 07 Jul 2001 03:47 PM — 3 posts, 15,270 views.

#0
Hello,

My problem is about Echo'ing text. I have a script function that sends "+SS" every 7 seconds to a mux (World.Send). I also keep the echo text option on in game / configure / input / commands - Echo my input...). Now, my aim is to hide all the communication the script does with the MUD, but I want to be able to see what commands I have sent, so what I need is something like World.SendSilent, or a configuration option to show/hide script-generated sent text. Is there a way for that ?

I hope I could express the problem good enough. I also want to congratulate you for writing such a great client. I've been using it for years now.

Thanks.

ps: if you wonder why... I have written a set of COM applications in delphi, to be used with a certain kind of MUDs: BattleTech MUXs. check: http://www.mavsoft.net
Amended on Sat 07 Jul 2001 03:51 PM by Mav
Australia Forum Administrator #1
You can access the "echo input" flag from a script. Thus you can temporarily turn it off, or better still, save and restore it. eg.


dim saved_flag

  saved_flag = world.echoinput  ' save flag
  world.echoinput = vbFalse     ' turn echo off
  world.send "+SS"              ' send to MUD
  world.echoinput = saved_flag  ' restore flag
#2
Of course it worked. Thank you.