Current configuration:
$irc->plugin_add(
'Hailo',
POE::Component::IRC::Plugin::Hailo->new(
Talkative => 0,
Method => 'privmsg',
Abuse_interval => 0,
Replyrate => 10,
Own_channel => $channel,
Ignore_regexes => [ qr{\w+://\w} ], # ignore lines containing URLs
Hailo_args => { brain_resource => 'brain.sqlite', },
)
);
It posts a reply to every message I type with or without its name and
to every action.
On Sun, Aug 10, 2014 at 3:13 PM, Hinrik Orn Sigurdsson via RT
<bug-POE-Component-IRC-Plugin-Hailo@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=97852 >
>
> I don't see anything wrong with your code.
>
> However, getting back to your original post, when you said "But it looks like it always replies", did you mean it always replies when its name is mentioned? Because in your code you have set "Talkative => 1", which means it will always replies when someone mentions the bot's name.
>
> Does it still reply every time (instead of the expected 10%) when its name is not mentioned?
--
Twitter:
http://twitter.com/znmeb Computational Journalism Server
http://j.mp/compjournoserver
Data is the new coal - abundant, dirty and difficult to mine.