18 Commits

Author SHA1 Message Date
ian%hixie.ch
a2fa958ceb Better Unload handling for modules that need it. Introduce a way for modules to monitor pipes continuously (e.g. to watch the serial port or a socket). Better handling for when messages are repeated a lot in a row. Update documentation and modules to match.
git-svn-id: svn://10.0.0.236/trunk@172997 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 18:38:43 +00:00
ian%hixie.ch
f263364c7f We should never try to ask _ourselves_ what stuff is, that's just silly!
git-svn-id: svn://10.0.0.236/trunk@152412 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 12:19:13 +00:00
ian%hixie.ch
7b95e5f745 Oops, must reply to status in round 1. Make the Told handlers slightly happier about replying early.
git-svn-id: svn://10.0.0.236/trunk@152411 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 12:03:37 +00:00
ian%hixie.ch
01ce8e18df Ok, we don't really need ridiculouslyEagerToHelp, just use the autoHelp variable which is per channel.
git-svn-id: svn://10.0.0.236/trunk@152376 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 16:50:52 +00:00
ian%hixie.ch
2f43575406 Oops, Infobot was way too eager to help even in non-eager mode. Make the 'no,' prefix only take effect if the bot thinks it is a direct statement.
git-svn-id: svn://10.0.0.236/trunk@152160 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 10:38:14 +00:00
ian%hixie.ch
27c4316aae First, dramatically reduce the priority of Infobot responses. Especially with eager mode enabled, infobot was being ridiculously helpful, butting in to all kinds of conversations with other modules. Also, don't treat 'bla is bla?' as a statement. This may need tweaking some (now it treats it as a question for 'bla is bla', which you can't easily set anyway)
git-svn-id: svn://10.0.0.236/trunk@151951 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 13:07:05 +00:00
ian%hixie.ch
5fe8dc9baf in eager mode, it looks silly if we don't trim trailing dots.
git-svn-id: svn://10.0.0.236/trunk@151860 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 22:03:03 +00:00
ian%hixie.ch
dc5e90448e * Support fluffy "tell me" prefix
* Fix a bug introduced in version 1.10 which made Infobot, ah, not work. (bug 223905, thanks to Charlie, Michael, and justdave)
* Support for more fluffy wording (expletives in questions)
* Space out some regular expressions
* Made the "anyone know what foo is" form actually work for the first time
* Fix the bug introduced 7 patches ago, which I partly fixed 5 patches ago, in which "targetted" comments wouldn't be, ah, targetted.


git-svn-id: svn://10.0.0.236/trunk@151811 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 23:48:11 +00:00
ian%hixie.ch
be76d34cd6 eagerToHelp and ridiculouslyEagerToHelp modes. See bug 142371.
git-svn-id: svn://10.0.0.236/trunk@148398 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 12:14:39 +00:00
ian%hixie.ch
9d2f7235af Bug 141346: 'I am' wasn't learning correctly.
git-svn-id: svn://10.0.0.236/trunk@148397 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 11:58:06 +00:00
ian%hixie.ch
ff459ae97a Escape nicks in regular expressions so that they still work even if the bot is called something silly like '[bot]'. Bug 134599.
git-svn-id: svn://10.0.0.236/trunk@148396 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 11:30:09 +00:00
ian%hixie.ch
b87703215a Bug 124748: Stop time drift once and for all by using a globally initialised time() value. This was done as a pretty blind search-and-replace, so may have caused regressions and may be non-optimal. Please file bugs if you spot problems. This adds the entry 'time' to the event object.
git-svn-id: svn://10.0.0.236/trunk@147531 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:47:35 +00:00
ian%hixie.ch
7a073c75f5 oops, removed the wrong line two changes ago. This makes Infobot work again. Thanks to Eira for noticing the bug.
git-svn-id: svn://10.0.0.236/trunk@146134 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 12:16:12 +00:00
ian%hixie.ch
e5d679bdf8 labels can only go on blocks, not if statements, apparently. fixes bug 139646
git-svn-id: svn://10.0.0.236/trunk@146094 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:56:40 +00:00
ian%hixie.ch
afba3e8c3e Remove some redundant checks for bug 133134.
git-svn-id: svn://10.0.0.236/trunk@145925 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 16:37:25 +00:00
ian%hixie.ch
745ddc7a1c Infobot is a little eager. 'aaa is bbb' was being handled as 'is bbb' because 'aaa' matched the 'ah' regexp. Oops. r=justdave.
git-svn-id: svn://10.0.0.236/trunk@117849 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:19:26 +00:00
ian%hixie.ch
16c09d90ea Adds various different friendly prefixes to Infobot responses. b=131320, r=caillon. Makes mozbot ignore prefixes like peterv: at the start of auto-learnt factoids. b=132264, r=caillon.
git-svn-id: svn://10.0.0.236/trunk@117821 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 23:19:36 +00:00
ian%hixie.ch
9c32550d39 Implement Infobot functionality as a bot module. b=123692, r=timeless
git-svn-id: svn://10.0.0.236/trunk@115310 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 15:49:23 +00:00