ian%hixie.ch
d0b875b352
Upgrade the insult protection overrides to be more customisable. Add more of them by default. Note that this is not a backwards compatible change but since we haven't released a version with this module yet, that's ok.
2004-01-25 00:08:43 +00:00
ian%hixie.ch
fe573d34c5
New fortune cookie format, in case we ever add more types of cookies. Limit on size of cookie file, to prevent trivial DOS attack. Prevent the addition of duplicate cookies.
2004-01-24 23:56:12 +00:00
ian%hixie.ch
2cdf4e84e1
* 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.
2004-01-24 23:48:11 +00:00
ian%hixie.ch
512bd2cee7
minor documentation error fix
2004-01-24 18:40:07 +00:00
justdave%syndicomm.com
8ebf9f1e35
small whitespace change to test cvs back-end changes related to this file
2004-01-21 07:58:31 +00:00
justdave%syndicomm.com
10486f21a3
Bug 115642: Use XML for buglists, and lots of other goodies. This makes the Bugzilla.bm module actually work now. :)
...
Patch primarily by Jake Steenhagen <jake@bugzilla.org> and Bradley Baetz <bbaetz@acm.org>
r= justdave
2004-01-21 07:45:39 +00:00
ian%hixie.ch
fd1fb4e679
eagerToHelp and ridiculouslyEagerToHelp modes. See bug 142371.
2003-10-26 12:14:39 +00:00
ian%hixie.ch
e1d6df8147
Bug 141346: 'I am' wasn't learning correctly.
2003-10-26 11:58:06 +00:00
ian%hixie.ch
160a2ba452
Escape nicks in regular expressions so that they still work even if the bot is called something silly like '[bot]'. Bug 134599.
2003-10-26 11:30:09 +00:00
ian%hixie.ch
9335e3bc94
fix minor grammar error
2003-10-19 22:33:00 +00:00
ian%hixie.ch
ab8bc94683
Homogenise the violence code a bit.
2003-10-19 22:13:42 +00:00
ian%hixie.ch
973a7c6064
Insult Generator. See bug 204356 for details.
2003-10-19 22:11:16 +00:00
ian%hixie.ch
8747fc4ba9
dumb bot
2003-10-19 21:06:56 +00:00
ian%hixie.ch
bd59fa0076
Support 'mozbot!' on its own.
2003-10-18 10:57:56 +00:00
ian%hixie.ch
7931dd2ce8
Be silently compatible with Infobot's 'karma' syntax. Bug 142377
2003-10-17 09:47:53 +00:00
ian%hixie.ch
8321b8dfc5
implement 'lo' as a greeting
2003-10-16 19:42:34 +00:00
ian%hixie.ch
e16e30afa3
Convert RDF.bm to use a real XML parser (now requires XML::RSS, available at your nearest CPAN mirror). Thanks to Jeff Bisbee. See bug 154826.
2003-10-05 20:06:38 +00:00
ian%hixie.ch
13f6d47a70
Bug 154337: A new output style for help, especially for people with few modules loaded. Based on a patch by Joel Thornton.
2003-10-04 18:18:49 +00:00
ian%hixie.ch
77e86a9bf0
Basic NickServ support. Tested with Q@cserve.quakenet.org, let me know if you have problems on other networks.
2003-10-04 13:03:50 +00:00
ian%hixie.ch
51a9513d72
primitive 'bitch' support
2003-10-04 13:01:22 +00:00
ian%hixie.ch
5b19b980a5
Minor documentation changes (nothing substantial)
2003-10-04 11:06:48 +00:00
ian%hixie.ch
31f4b76fbd
Implement incoming Notice support in the BotModule APL. Bug 169882. Largely based on a patch by Ken Coar.
2003-10-03 23:35:49 +00:00
ian%hixie.ch
d80d23f8f1
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.
2003-10-03 15:47:35 +00:00
ian%hixie.ch
37514d30b5
Make all instances of the time function have brackets, to make them easier to find.
2003-10-03 15:19:12 +00:00
ian%hixie.ch
af90e48a89
Bug 134617: Let users tell the bot to shut up. Adds a 'getMessageQueue' function to the bot API. Also fixes some unrelated minor issues in the developer documentation and makes a tiny optimisation in drainmsgqueue.
2003-10-03 15:08:42 +00:00
ian%hixie.ch
5e43dbaa22
Typo...
2003-09-24 21:28:27 +00:00
ian%hixie.ch
6d3257f5c7
Stop an infinite loop that occurs if you have questions all in the same category. Bug found by ltost.
2003-09-24 21:22:50 +00:00
ian%hixie.ch
b5920883b6
Upgrade ignoredUsers and implement ignoredTargets. Fixes bug 133067, adds a bunch of documentation. Other very minor typographical fixes.
2003-09-20 21:10:28 +00:00
ian%hixie.ch
5b415d5da6
oops, removed the wrong line two changes ago. This makes Infobot work again. Thanks to Eira for noticing the bug.
2003-08-17 12:16:12 +00:00
ian%hixie.ch
25dfb6f913
labels can only go on blocks, not if statements, apparently. fixes bug 139646
2003-08-16 19:56:40 +00:00
ian%hixie.ch
685d9c3233
make help module give the topics for that module. fixes bug 145369.
2003-08-16 19:45:43 +00:00
ian%hixie.ch
5ecacbf785
allow smilies at the end of greetings
2003-08-16 19:34:01 +00:00
ian%hixie.ch
fb0f4c2456
more happy, more kinky, and more consistent in its handlings of various forms of greetings.
2003-08-14 13:52:43 +00:00
ian%hixie.ch
3d86463b34
Make help slightly more helpful
2003-08-14 13:45:40 +00:00
ian%hixie.ch
3b45418979
Correct my spelling and my maths.
2003-08-14 13:45:06 +00:00
ian%hixie.ch
246f85ca9c
Make the opme command also take into account masks.
2003-08-13 13:15:57 +00:00
ian%hixie.ch
316139e003
Remove some redundant checks for bug 133134.
2003-08-12 16:37:25 +00:00
ian%hixie.ch
f19a8dbd96
Some more minor changes, and the addition of a response to '/me bites mozbot' (the 'kinky' responses, although they aren't very raunchy)
2003-08-12 16:35:59 +00:00
ian%hixie.ch
3ac2669d98
New temperature scales (optimised for air temperatures)
2003-08-12 16:29:29 +00:00
ian%hixie.ch
20c54860ca
Make Rude actually tell you the right host when it fails. Also, clarify a comment.
2003-08-09 15:13:53 +00:00
ian%hixie.ch
1c351941fa
Minor fix to autoop help. Patch by mental.
2003-08-09 15:13:03 +00:00
ian%hixie.ch
3e2088de28
Use DBM database instead of config file for seen data. Note that there is no migration path for old seen data, and that the config file isn't updated to remove the now superfluous variables.
2003-08-09 14:54:02 +00:00
ian%hixie.ch
d729cf9ea7
better error handling (to handle the case where the servers are totally down, like now)
2003-08-09 13:58:13 +00:00
ian%hixie.ch
d63f723feb
Make mozbot slightly more willing to insult people (won't help much since the servers are down, but oh well)
2003-08-09 13:54:27 +00:00
ian%hixie.ch
990229393c
minor comment fixup
2003-08-09 13:53:17 +00:00
ian%hixie.ch
5fbaadd4b6
Implement a hitting command, add some new variants to some existing commands
2003-08-09 13:49:36 +00:00
ian%hixie.ch
1043c55c39
'<stuart> right now its showing a teranchela(sp?) eating something or something' r=kerz
2002-04-09 21:23:57 +00:00
ian%hixie.ch
022fbeb04b
Bumping version number to 2.5.
2002-04-01 07:46:34 +00:00
ian%hixie.ch
5c4df623d9
Infobot is a little eager. 'aaa is bbb' was being handled as 'is bbb' because 'aaa' matched the 'ah' regexp. Oops. r=justdave.
2002-04-01 06:19:26 +00:00
ian%hixie.ch
223b5637b0
Bumping version number to 2.4.
2002-04-01 05:17:41 +00:00
ian%hixie.ch
8199dba14c
Kooking Module for those times when someone is annoying you. Original code by Keunwoo Lee, ported by Pike. b=128010, r=zach.
2002-04-01 05:10:01 +00:00
ian%hixie.ch
ad6c1d590e
XML Logging Module. b=16226, r=kerz.
2002-04-01 05:08:37 +00:00
ian%hixie.ch
f80bef3886
Generic Conversion module. b=72933, r=zach.
2002-04-01 05:07:36 +00:00
ian%hixie.ch
90b08ac487
Change the // forms to m// forms. Comment some of the regexps. Allow multiple bugs to be caught on one line. b=76910, r=kerz.
2002-04-01 05:03:03 +00:00
ian%hixie.ch
672a8db99a
Changes Tinderbox to use either say or notify, configurable via the 'useNotice' variable. b=72960, r=timeless
2002-04-01 04:46:24 +00:00
ian%hixie.ch
c455d29a91
Implements a magic eight-ball module.
2002-04-01 04:39:21 +00:00
ian%hixie.ch
71a6be2fe7
Use the new getHelpLine and getModules APIs instead of accessing \@modulenames and $helpline directly. This also makes the CTCP VERSION reply be sorted. b=130532, r=imajes
2002-04-01 04:32:42 +00:00
ian%hixie.ch
57e468fbbe
Makes mozbot only mark joins as joined on a successful attempt. b=112049, r=kerz.
...
Implements getHelpLine and getModules API functions and updates documentation to match. b=130532, r=imajes.
Adds a notice() method to the mozbot API. Updates the documentation to reflect this. (Also updates the version and corrects a typo in the docs.) b=72960, r=timeless.
Fixes the problem whereby if a module doesn't load, it's not removed from the @modulenames list, which causes problems for modules that walk the @modulenames list to get each module in turn. b=133148, r=kerz.
The Log event for the Told event doesn't have the prefix text that made the event a Told event in the first place. This adds a field 'fulldata' to the event hash which will let loggers log the whole thing. Also updates documentation. b=133509, r=kerz.
Log events were not generated for events generated by the bot. This removes redundant checks to prevent that from happening (redundant since the server never sent us the messages in the first place) and then adds code to synthesise the relevant Log events. Updates the documentation to match. b=16226, r=kerz.
The Initialise handler was needlessly within the scope of an undef'd $/. This scopes the cause of this problem. b=131483, p=Robin Berjon, r=kerz, a=hixie.
Makes ctcpSend() send messages to the target, not the originator. This makes it work like say(). b=133140, r=caillion.
Adds a way to make the auth command not give confirmation feedback (quiet auth). b=134342, r=caillon.
2002-04-01 03:46:06 +00:00
ian%hixie.ch
3d7f568679
The 'seen' command should accept punctuation at the end, not consider it part of the nick to look for. b=133046, r=caillon. Some more friendliness. b=131323, r=caillon.
2002-03-31 23:53:11 +00:00
ian%hixie.ch
87223bdec0
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.
2002-03-31 23:19:36 +00:00
ian%hixie.ch
14c7acad0f
Minor typo in help text, ++ should be --. b=132195, p=mental, r=hixie
2002-03-24 16:54:07 +00:00
ian%hixie.ch
7046232b82
2.3 development has begun
2002-03-24 02:28:42 +00:00
ian%hixie.ch
c878e09837
Correctly quote regular expressions when hostmasks are used. b=133023, p=jake, r=hixie
2002-03-23 23:18:16 +00:00
ian%hixie.ch
0d0352ed11
More fallout from the General.bm split. Change the IRC name to r=imajes.
2002-03-08 19:40:27 +00:00
ian%hixie.ch
293e551f9c
Updating various version strings to 2.2.
2002-03-08 15:43:31 +00:00
ian%hixie.ch
14593f0bf3
Spelling module. Checks your spelling on the fly. b=126612, r=imajes, code originally by mental.
2002-03-08 15:15:24 +00:00
ian%hixie.ch
80036cfbb1
Quizbot module. b=124621, r=imajes
2002-03-04 21:44:54 +00:00
ian%hixie.ch
51c165dbb8
Mozbot spams channels when it notices that tinderbox is down. This makes it shut up when it notices lots of changes. b=126063, r=imajes
2002-03-04 21:16:48 +00:00
ian%hixie.ch
1ffce5d6e3
The 'foo bugs' command should not be handled as a command, since it clashes with the 'help' command. Change it to a Baffled handler. b=115638, r=imajes
2002-02-26 22:54:02 +00:00
ian%hixie.ch
799791d534
Make channelOpMasks be able to op via nickname by implementing normal hostmask syntax. b=73433, r=Jake. Add slightly more friendly syntax to ask to be opped. b=72961, r=kerz.
2002-02-25 16:48:28 +00:00
ian%hixie.ch
de30dd8681
Implement Infobot functionality as a bot module. b=123692, r=timeless
2002-02-25 15:49:23 +00:00
ian%hixie.ch
fc071a9e7e
Improve help info. Change the command syntax to not clash with the Infobot module. Made the -- and ++ commands slightly more discriminating. Fixed an error in an error message (how long till ' loses its special meaning... grr...). Made people drop off the list when they hit zero. Made the individual karma report give the position of the person in the list. Fixed a logic errer in the private stats code. b=123713, r=kerz
2002-02-19 22:34:49 +00:00
ian%hixie.ch
84ad46d453
Stop private messages to the bot from being logged. b=123956, r=kerz. Rename the default command from uris to links. b=72957, r=kerz.
2002-02-19 21:42:04 +00:00
ian%hixie.ch
f5f6847827
Minor changes to what commands are accepted to make it friendlier. b=72961, r=kerz
2002-02-19 21:37:20 +00:00
ian%hixie.ch
cf1585e4f6
Correct minor typo ('retieve' to 'retrieve'). r=ispell
2002-02-19 15:04:55 +00:00
ian%hixie.ch
925331c1c5
Implement wwwtitle and correct a logic error in the comment and message text of wwwdoctype. r=zach, b=72953
2002-02-16 01:25:40 +00:00
ian%hixie.ch
0fc154332c
Adding Stocks contributor.
2002-02-13 13:48:19 +00:00
ian%hixie.ch
8260ebdb0a
Inital implementation of Stock Quote module. Code/Review by both zach and Hixie. b=70874
2002-02-13 00:42:57 +00:00
ian%hixie.ch
0dd4d40533
Remove brackets around grep(). b=111831 r=timeless
2002-02-12 15:03:11 +00:00
ian%hixie.ch
986eed4538
* Implement !seen command
...
* Implement a few new greeting types (e.g. wb)
b=72943 r=timeless
* Implement CTCP Ping and Source responses
b=72956 r=timeless
* Remove brackets around grep() in Greeting.bm
b=111831 r=timeless
2002-02-12 14:59:29 +00:00
ian%hixie.ch
c50b3c77fe
* Implement CTCP Ping, Version and Source as BotModule Event
...
* Added ctcpSend(), ctcpReply() APIs
* Implemented CTCP Version in the general module
* Updated devel docs
b=117625 r=Jake
* Remove brackets around grep() in mozbot.pl
b=111831 r=Jake
2002-02-12 14:51:59 +00:00
ian%hixie.ch
e96a0843d8
Fixes a copy-paste error in the help line. r=timeless; b=123708
2002-02-07 08:36:23 +00:00
ian%hixie.ch
ba09233316
Lets the invite command accept the more natural syntax 'invite user in #channel' rather than just 'invite user channel'. r=zach; b=72949
2002-02-07 08:33:17 +00:00
ian%hixie.ch
cbd99231b2
Mozbot shipped with a broken default bugsDWIMQueryDefault -- made the code more consistent. b=93203, r=timeless
2001-11-25 13:59:53 +00:00
ian%hixie.ch
ad706350b0
oops, stray dot meant the private karma scores were getting corrupted! r=kerz
2001-11-25 01:25:27 +00:00
ian%hixie.ch
9e4bc32d9a
Initial checkin of a karma module. r=kerz b=111757
2001-11-25 01:01:35 +00:00
jake%acutex.net
f21b41e1e1
Fix for bug 72951 - oopsbot should have flooder defences
...
r= zach@zachlipton.com
a= hixie
2001-08-14 16:53:30 +00:00
ian%hixie.ch
cfc5246ba6
Fixing various typos and spelling mistakes spotted by timeless. There shouldn't be any code level changes here. moa=hixie
2001-04-29 08:35:29 +00:00
ian%hixie.ch
9660807d69
Updating mozbot to version 2.0: changed to a more modular architecture, added support for multiple channels, added support for multiple nicks, generally cleaned up the code, etc. Uses some code and ideas from timeless and zach.
2001-04-23 07:07:17 +00:00