Hi,

Please see the below:

[15:04:14] <@Kartagis> jquery?
[15:04:15] <Druplicon> Please ask jQuery questions in #jquery, not here.  Docs are available here: http://docs.jquery.com/; It is a javascript library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
[15:04:41] <@Kartagis> Druplicon: jquery is also http://i.stack.imgur.com/sGhaO.gif
[15:04:42] <Druplicon> Kartagis: Okay.
[15:04:46] <@Kartagis> jquery?
[15:04:46] <Druplicon> jquery is <reply>Please ask jQuery questions in #jquery, not here.  Docs are available here: http://docs.jquery.com/; It is a javascript library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. and is also http://i.stack.imgur.com/sGhaO.gif

What I would expect is

[15:04:14] <@Kartagis> jquery?
[15:04:15] <Druplicon> Please ask jQuery questions in #jquery, not here.  Docs are available here: http://docs.jquery.com/; It is a javascript library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
[15:04:41] <@Kartagis> Druplicon: jquery is also http://i.stack.imgur.com/sGhaO.gif
[15:04:42] <Druplicon> Kartagis: Okay.
[15:04:46] <@Kartagis> jquery?
[15:04:46] <Druplicon> Please ask jQuery questions in #jquery, not here.  Docs are available here: http://docs.jquery.com/; It is a javascript library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development<strike>.</strike>. Also http://i.stack.imgur.com/sGhaO.gif

Comments

Morbus Iff’s picture

This is a known bug, but is unlikely to be fixed, given that the "fix" is simply to rewrite the factoid in IRC. What's actually happening here is that the "also" syntax (which is for randomized responses, NOT appending which is what you appear to be doing) only works with one type of factoid (there are three: replies, actions, and normal). In this particular case, you've mixed two different types (the one that was already in the bot was a reply, and you added a normal one) and things get confused.

Relevant code is bot_factoid.module, lines 202 through 209.