*Firiban cheers*
great thing thob!
For all those who dont want to type ./serverpinger.py all the time, you can have this script in a shiny and tiny screenlet (
http://www.screenlets.org/), which displays the server status on your desktop.
May look like this in the end1 install Screenlets (linux users → package manager of your distro | windows and mac users → go crying)
2 activate the screenlet called "Output"
3 right-click on that screenlet → Properties → Options → Options
4 "Command to run": /whereever/you/put/the/serverpinger.py (make sure the file is executable)
5 Click Apply
6 "Update interval seconds": Something that does not DDOS the server, but still is way up to date (maybe 5 or 10)
7 Optionally change colors, position, size, scale, etc.
8 Close Properties window and enjoy the server status on your Desktop.