What I did was change that code to
Code:
include "E:\\network\\Apache2\\htdocs\\forum\\alice\\src\\respond.php";
# Here is where we get the reply.
$botresponse=reply($rss,"5");
$response = $botresponse->response;
I also went into the TomBot files and modified the gettemplate() function to be gettemplate2() so it wouldn't conflict with vBulletin. The only problem with doing it this way is that I get warnings that some regular expressions are empty, but it works fine nonetheless.
(note: this code is the same as what is in the file that it is trying to fopen)