is there some script or module which opens an http server and returns some info like
$users = array("user1", "user2", "user3", "user4", "user5");
or
$settings["topic"] = "topic";
so you can eval(file_get_contents()) it in php?
Probably not, but you can check the ques5.tcl which is brought with the eggdrop-source.
It creates all x times a statistics-htmlfile which you could parse with php.
Alernative you could write yourown tcl that opens a listen-socket to which your php-script connects to retrieve some information.
What i do is let the bot store current channel-status and information i want/need in mysql and catch the infos from there with php.