While painfully studying one more language :-( (Lua... ) I saw that it can run into any SO and that it has CGI interface (tell me if I'm wrong).
What about building a Lua bot framework or - at least - install Lua into Toolserver? Is it a crazy idea? Perhaps using the same language in two settings (modules and server scripst) could be useful.
Alex brollo