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

Title: This will not return a hyperlink
Post 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.
Title: Re: This will not return a hyperlink
Post by: Getrix on October 31, 2009, 11:27:49 am
Sure you only changed that line?

Try this:
Quote
$blob = $this -> bot -> core("tools") -> make_blob("click to view", $content);
return "Raid Info :: " . $blob;
Title: Re: This will not return a hyperlink
Post by: Xene on October 31, 2009, 02:48:41 pm
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
Title: Re: This will not return a hyperlink
Post by: Getrix on October 31, 2009, 03:23:07 pm
Change the text in rinfo.lst to "Test" and check if the contains in that file causes it...
SimplePortal 2.3.7 © 2008-2024, SimplePortal