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
➜ General
➜ Echo of text sent to MUD by scripts
|
Echo of text sent to MUD by scripts
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Mav
(8 posts) Bio
|
| Date
| Sat 07 Jul 2001 03:47 PM (UTC) Amended on Sat 07 Jul 2001 03:51 PM (UTC) by Mav
|
| Message
| 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
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 07 Jul 2001 10:00 PM (UTC) |
| Message
| 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
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Mav
(8 posts) Bio
|
| Date
| Reply #2 on Sat 07 Jul 2001 11:23 PM (UTC) |
| Message
| Of course it worked. Thank you.
| | 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.
13,854 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top