World.EchoInput ignored ?

Posted by Mav on Thu 09 May 2002 11:28 PM — 5 posts, 21,017 views.

#0
I have just downloaded 3.20 and upgraded, but it seems new version ignores EchoInput setting. I saw the note in release notes, but it didnt help. Below is the code:

sub CheckMUX(thename)
Dim saved_flag
saved_flag = world.echoinput
world.echoinput = vbFalse
world.send "+ss"
world.echoinput = saved_flag
end sub

this is bound to a timer I fire up every 7 secs. Instead of vbFalse, I tried False, false, 0. None had any effect and the +ss is still displayed.

Am I doing something wrong ?
Australia Forum Administrator #1
Hmmm - another bug slipped in, in the guise of fixing it! ;)

This will work, as an alternative ...


world.setoption "display_my_input", 0 ' echo off


and


world.setoption "display_my_input", 1 ' echo on


I will fix that in 3.21.
Australia Forum Administrator #2
And, use world.getoption to test the current setting.
#3
Thank you very much, as always it worked. There was no documentation for set/getoption, but it was pretty obvious anyway.

Again, thank you.
Australia Forum Administrator #4
See Description of MUSHclient world function World.GetOption..

To get a list of all the option names themselves, type:

/world.debug "options"