summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-25 22:54:35 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-25 22:54:35 +0000
commitf8a60326b46c90101743e8d412cfbe5a76d13c2f (patch)
tree329558dedf798c145cef5df6823c2a08f7c7cffc /ChangeLog
parent8c9f537e61531da714f8203583c8b091f5cdc8df (diff)
New implementation for the message mapper: multi-word parameters can now be retrieved as substrings with preserved whitespace (use to_s), and parts of the message match can be made optional [by bracketing them]
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 35d20c37..490bff4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2006-08-26 Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
+
+ * Plugin message mapper: new implementation. Multi-word parameters now
+ need not be the last, and it is possible to retrieve the entire
+ substring with preserved whitespace by using to_s. Also, parts of the
+ map string can be bracketed to make them optional. Examples:
+ remind :user [about] *stuff
+ will respond to
+ remind me about washing my teeth
+ and also to
+ remind me washing my teeth
+ It is possible to have parameters in brackets, in which case they will
+ be optional too, and default to nil or [] (resp. single- and
+ multi-word parameters) unless an alternative is provided in the
+ :defaults hash for the message map options.
+
2006-08-25 Mark Kretschmann <markey@web.de>
* Added quiz plugin, a multiplayer trivia quiz game.