BeBot - An Anarchy Online and Age Of Conan chat automaton
General => General discussion => Topic started by: Xene on October 31, 2009, 09:23:25 am
-
return "Raid Info :: " . $this -> bot -> core("tools") -> make_blob("click to view", $content);
When i run this module i get:
[09:21] [Avengers]: Raid Info :: <a href="text://ÿþ<</font></font></div>
Can any one tell me, how to correct this ... i renamed another module, and the only thing i changed are the "Raid Info ::"-part ... rest is working nicely when i use the other module
Thanks for help in advance.
-
Sure you only changed that line?
Try this:
$blob = $this -> bot -> core("tools") -> make_blob("click to view", $content);
return "Raid Info :: " . $blob;
-
I tried that, still same result ... ;)
Here are the whole function:
function make_list()
{
if(false !== ($handle = @fopen("ginfo/rinfo.lst", "r")))
{
// Tijdelijk, zodat ik veel aanpassingen kan doen en niet maar halve files te zien krijg
clearstatcache();
$content = fread($handle, filesize("ginfo/rinfo.lst"));
fclose($handle);
$blob = $this -> bot -> core("tools") -> make_blob("click to view", $content);
return "Raid Info :: " . $blob;
}
return "Raid Info :: No info available atm.";
}
the only thing i have changed from the GuildInfo-module is changed Guild to Raid and ginfo to rinfo
Thanks
-
Change the text in rinfo.lst to "Test" and check if the contains in that file causes it...