[project @ 2003-04-10 01:53:57 by unknown_lamer]
[clinton/bobotpp.git] / NEWS
diff --git a/NEWS b/NEWS
index dc46be3..802bfcc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -10,20 +10,62 @@ IMPORTANT NOTES:
 ====== The News =====================================================
 =====================================================================
 
+Version 2.1.3: Something
+- The flood rate can now be set using !setfloodrate INTEGER. The
+default is two messages per second before the bot will ignore
+you. (thanks to Björn Gustavsson for requesting this)
+- The flood rate may also be set from Scheme using (bot:setfloodrate integer)
+
+Version 2.1.2: Llama
+
+- match-to-me and match-not-channel are now bot:match-to-me and
+  bot:match-not-channel. Just use perl -pi -e
+  "s/match-to-me/bot:match-to-me" SCRIPTS (change to match-not-channel
+  for match-not-channel).
+- Each script is now loaded into its own module so namespace clashes
+  should no longer occur
+- New procedure: (bot:load-module INTERFACE-SPEC) will load a "bot
+  module" with the specified INTERFACE-SPEC (e.g. (foo bar)). A bot
+  module is the same as a system module except that you don't use
+  define-module to define it. The %bot:loadpath is searched for
+  INTERFACE-SPEC (when converted to a string) with an extension in
+  %bot:load-extensions. E.g. (foo bar) becomes "foo/bar".
+- New procedure: (bot:use-module INTERFACE-SPEC) is the same as
+  bot:load-module except it will make the exported bindings from
+  INTERFACE-SPEC available in the current-module.
+- Updated example bot and new example scripts included with the bot.
+
 Version 2.1.1: foom
+
+- Host masks are now case insensitive when matched. At least one other
+  person thought this was a good idea since IRC is case preserving but
+  not case sensitive.
 - You can now "name" a hook using an extra arg to bot:addhook. This
   name can be used to have multiple hooks of the same type with the
   same regexp. The default name is "DEFAULT" so don't use that as the
   name for your hooks.
 - Logging now works again (oops, I didn't realize I broke it until I
   started to work on DCC).
-- DCC CHAT now "works." You can connect to the bot and talk to to it,
-  but it doesn't do anything useful.
+- DCC CHAT now "works." You can connect to the bot and talk to to it
+  and use Scheme hooks to talk to the user.
+- New hooks: hooks/dcc/chat-begin and hooks/dcc/chat-message. These
+  are called when a new DCC Chat begin and when the user sends a
+  message.
+- New Function: bot:dcc-chat-send TO MESSAGE, sends a MESSAGE to the
+  person at address TO
 - New hooks: hooks/send/... where ... is one of action, ctcp, public,
   or message. These are triggered when the bot does an
   ACTION, sends a CTCP (_not_ a ctcp-reply), sends a PRIVMSG to a
   channel, or sends a PRIVMSG to another user, respectively. There
   will be more send hooks added later.
+- New hooks: hooks/dcc/chat-begin and
+  hooks/dcc/chat-message. chat-begin is called when the chat starts
+  and has one argument: the address (in user!nick@host
+  format). chat-message has two arguments: from (user!nick@host) and
+  message, which is the raw message (since there is no real protocol
+  for DCC). chat-start hooks are matched against the address and
+  chat-message hooks are matched against the text "ADDRESS MESSAGE"
+  where ADDRESS is the sender's address and MESSAGE is the message.
 
 Version 2.1.0: Zug Zug
 - Hooks can now be fallthrough or non fallthrough. You can set a hooks
@@ -40,7 +82,7 @@ Version 2.1.0: Zug Zug
   bobotpp --help for the full list of commands you may use and how to
   use them).
 - Scripts are now stored in ~/.bobotpp/scripts/ or
-  PREFIX/bobotpp/scripts/ (where PREFIX is /usr/local unless you
+  PREFIX/share/bobotpp/scripts/ (where PREFIX is /usr/local unless you
   changed it with the --prefix arg to configure). The new function
   bot-load will take a filename and load it from these dirs, returning
   #t if the file was loaded and #f if it wasn't. You can modify the