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 ➜ Suggestions ➜ Connect on Disconnect toggle from a script, etc.

Connect on Disconnect toggle from a script, etc.

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


Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Sat 27 Oct 2001 06:22 AM (UTC)
Message
There are a number of cases where connecting on a disconnect is very helpful. 1) Network lag terminating the connection. 2) Mud reboot, 3) A problem with the comp or ISP that causes the modem to disconnect. However, there is one that you don't want it. That is when you quit the mud for the day and forget to turn it back off. Not only do you have to turn it off and then quit again, you also have to explain to everyone that sees you log back on that you forgot to turn it off... lol

I think it wuld be nice to add a way to toggle this off and on from a script. That way it could be automatically turned off in the startup script or in a script used to quit.

And speaking of scripts, etc... It may be helpful in the future to allow testing of scripts/aliases when offline (and not in a little tiny window using the system font). Some other clients already do this and it makes figuring out how to correctly display things in a multiline tell or other situations when you don't want to do it online a lot easier.

Also with colors. Love using custom colors, but... there are not enough of them. Several other people I know of that use mushclient have said the same. It is easy to run out of them and there is not any real reason for using the 16 color set, when with the addition of mxp you can use more colors to talk to other people than you can use with triggers. And on some muds that lack MXP support, room names and other things can get eaten by forcing it on in order to get the added colors.

Really wish that you could turn off the flash=italics without turning off italics too. It messes up ansi art when on, but if off you can't use it at all. Same with bold, which when you don't want it (which is usually when using the upper 16 ansi colors) makes the text hard to read, so you have to turn it off too, even if you want to use it in some cases. Maybe just a switch that says 'Ansi colors effect font style [x]' would be helpful.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 28 Oct 2001 03:42 AM (UTC)
Message
For the connect on disconnect you should be able to do that in a script by calling a script on "world disconnect" (see script configuration tab) and then call "world.connect" to reconnect again.

You could maintain some variable that you set that tells you whether to reconnect or not (eg. clear the variable on a quit).

Your suggestions have been added as suggestions #414, 415, 416 and 417.



- Nick Gammon

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

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #2 on Sun 28 Oct 2001 04:40 AM (UTC)
Message
Can I say, "Duh"... Didn't even occure to me to use world.connect and world.disconnect with a script to do this. Though, ironically I did already set up a world.connect script to automatically turn on the quit alias I use, to prevent my accidentally dropping all my character equipment.

I am starting to worry that my script file may eventually be longer than the source code for your entire program though. lol

Thanks. ;)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 05 May 2002 03:15 AM (UTC)
Message
Version 3.19 now lets you script a reconnect when disconnected action. See the release notes for an example.

- 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.


12,289 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.