From f8a60326b46c90101743e8d412cfbe5a76d13c2f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 25 Aug 2006 22:54:35 +0000 Subject: 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] --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 35d20c37..490bff4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2006-08-26 Giuseppe Bilotta + + * 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 * Added quiz plugin, a multiplayer trivia quiz game. -- cgit v1.2.3