Hi,
I can recommend you python (an easy to learn, but powerfull scripting language). The script should use the socket connection that is aviable by FLHook.
I had once written lots of “plugins” in python to remove load from the server. Two years ago I began to rewrite my script completly, but I only rewrote the bulk (Event-Listener, worker, config read-/write and parts of language switching and databases). It could do much more.
If you have already experience in programming I can provide you a copy of it. If not I would recommend you learning it by yourself, because it is very easy to learn, but can get very complex and mine is not easy to understand for an beginner. If you want to learn it, this openbook will give you excellent help: http://openbook.galileocomputing.de/python/index.htm
If it has no rush and you don’t want to learn python you can send me a list of what it should do exactly and I will try to make a version that is fully adjustable for your needs. But this will take some time, because I have currently no server for testing (I would create an VM so don’t worry about it) and the time I can spend on it varies strong.
Greetings