This is my first Socket Script, so please be nice...
Requested script snippet by Truk, very interesting question
New Update Version 1.6 Minor Bug Fixes.
I quite like this script, very good I must say and I am glad to have helped!
Very nicely written!
The following script is used on the RCD Radio RoBo Bot, but has been edited down for a user version to be shared around and used.