How to auto-connect world without interactive prompt

Posted by Zhenzh on Tue 12 Jun 2018 01:48 PM — 7 posts, 28,999 views.

China #0
Each time I start a MCL script, mush always prompt a dilog asking yes/no before doing connecting.

Is it possible to get rid of such interactive prompt?

What I want is the mush can auto connect to the mud server so that I can type my game id.
Australia Forum Administrator #1
Under the Connect menu you can check "Auto Connect" which will automatically connect whenever you open the world file.

If you are disconnected (but the file is open) you can press Ctrl+K to connect (with no dialog).
China #2
The connecting menu lists some options for auto-connect with name/passwd. While what I want is just connecting to the mud server without login user id as I'd like to decide which id to be login at the time staring MCL.

The ctrl+k solution is also an interactive operation which depends on manual behavior. It can not be used by automation robot.

Suppose I'm running automation script to do some job in mud game. The mush suddenly disconnected for network issue. How can I get the mush reconnect to the mud server once the network is recovered without manual operation?
Amended on Wed 13 Jun 2018 08:22 AM by Zhenzh
China #3
I check the auto-connect and it do works if not plugin used.

But the yes/no dialog will prompt when status bar plugin is enabled.
Australia Forum Administrator #4
There is a reconnector plugin on the plugins page:

http://www.gammon.com.au/plugins/

Basically a plugin can check for a disconnect in the OnPluginDisconnect function, and then do a reconnect. That plugin enables a timer which keeps attempting to reconnect.
China #5
Seems the link http://www.mushclient.com/plugins/Reconnecter.xml doesn't work.
I get a blank page after clicking the reconnecter plugin
Australia Forum Administrator #6
It's a plugin file. RH-click and download the XML file to your disk - that is the plugin.