[Tkabber-dev] r388 - trunk/plugins/reminder

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Wed Sep 15 22:44:48 MSD 2010


Author: bigote
Date: 2010-09-15 22:44:48 +0400 (Wed, 15 Sep 2010)
New Revision: 388

Modified:
   trunk/plugins/reminder/reminder.tcl
Log:
Workaround added that provides some help in case of using commands /remind and /delrem without arguments at all.
TODO: Add nice messages instead of this.
TODO: Write some decent documentation.


Modified: trunk/plugins/reminder/reminder.tcl
===================================================================
--- trunk/plugins/reminder/reminder.tcl	2010-09-15 14:42:38 UTC (rev 387)
+++ trunk/plugins/reminder/reminder.tcl	2010-09-15 18:44:48 UTC (rev 388)
@@ -1,4 +1,4 @@
-# "Reminder" plugin for Tkabber. 2010-02-22 v. 0.9.4
+# "Reminder" plugin for Tkabber. 2010-09-15 v. 0.9.4.1
 # Written by Serge Yudin xmpp:bigote at jabber.ru
 # Its purpose is to remind about your contact birthdays automatically
 # and about some tasks that you assign by means of "/remind" command.
@@ -117,6 +117,7 @@
     } elseif {[string equal [string range $body 0 7] "/delrem "]} {
         set num [::plugins::muc::parse_nick $body 8]
     } else {
+        [namespace current]::help $chatid
         return stop
     }
     switch -- $cmd {



More information about the Tkabber-dev mailing list