Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ World.EchoInput ignored ?

World.EchoInput ignored ?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Mav   (8 posts)  Bio
Date Thu 09 May 2002 11:28 PM (UTC)
Message
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 ?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 10 May 2002 06:38 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 10 May 2002 06:44 AM (UTC)
Message
And, use world.getoption to test the current setting.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Mav   (8 posts)  Bio
Date Reply #3 on Fri 10 May 2002 05:44 PM (UTC)
Message
Thank you very much, as always it worked. There was no documentation for set/getoption, but it was pretty obvious anyway.

Again, thank you.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #4 on Fri 10 May 2002 10:32 PM (UTC)
Message
See Description of MUSHclient world function World.GetOption..

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

/world.debug "options"


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,744 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.