I am not sure how many people would be interested in this, so before I post a very ugly plugin (I'd clean it up prior to putting it up here), I figure I'd see how the response is.
I play a number of muds, and from time to time it happens that one goes down. Reconnect on disconnect, or manually doing it, can get very spammy in your buffer (assuming you have the messageboxes turned off. Messageboxes are even worse.)
So instead of that, this plugin will periodically check whether a mud is up when you are disconnected. Every minute when it has been noted as being down, or every 30 minutes when it is noted as up. If you are connected, it does completely nothing. :) This makes checking availability a quick Ctrl+Tab away.
Right now it supports testing by ping command, although I hope to add a connect() method of testing too for servers which do not support it. Since I also have some muds I play through proxies (stunnel, mudbot), it supports manual configuration of the endpoint also, so you won't end up testing localhost (127.0.0.1) or whatever.
I write most of my new plugins in Lua these days, but since I still prefer Python, I went with that one. Partially because using Lua would have meant I'd have had to go fiddle with the sandbox. That and I had fun playing with raw sockets this way. :D
Anyhow, I babble too much. A screenshot-collage can be found at http://qs.merseine.nu/images/mudstatus.png, so if people are interested I'll clean it up and put it up here.
I play a number of muds, and from time to time it happens that one goes down. Reconnect on disconnect, or manually doing it, can get very spammy in your buffer (assuming you have the messageboxes turned off. Messageboxes are even worse.)
So instead of that, this plugin will periodically check whether a mud is up when you are disconnected. Every minute when it has been noted as being down, or every 30 minutes when it is noted as up. If you are connected, it does completely nothing. :) This makes checking availability a quick Ctrl+Tab away.
Right now it supports testing by ping command, although I hope to add a connect() method of testing too for servers which do not support it. Since I also have some muds I play through proxies (stunnel, mudbot), it supports manual configuration of the endpoint also, so you won't end up testing localhost (127.0.0.1) or whatever.
I write most of my new plugins in Lua these days, but since I still prefer Python, I went with that one. Partially because using Lua would have meant I'd have had to go fiddle with the sandbox. That and I had fun playing with raw sockets this way. :D
Anyhow, I babble too much. A screenshot-collage can be found at http://qs.merseine.nu/images/mudstatus.png, so if people are interested I'll clean it up and put it up here.