Need to force MUSHclient to disconnect upon trigger

Posted by Blixel on Mon 04 Sep 2017 10:41 PM — 3 posts, 16,725 views.

#0
When I logoff the server I'm connected to, I'm noticing that the line between MUSHclient and the DIGI PortServer through which I'm connected remains active. My idea to resolve this is to just have my MUSHclient script look for the log off text, and then send a command that will do the equivalent of Connection -> Disconnect (or CTRL+SHIFT+K).

So my question is, how can I tell MUSHclient to forcibly drop the line when it sees the right trigger text?
Australia Forum Administrator #1
Maybe send-to-script and use Disconnect?

Template:function=Disconnect
Disconnect

The documentation for the Disconnect script function is available online. It is also in the MUSHclient help file.

#2
Nick Gammon said:

Maybe send-to-script and use Disconnect?


That Disconnect() function is exactly what I needed. Works perfectly.