changeset 1846:048bcde98fc6

Update contrib eventcmd sample script
author Mikael Berthe <mikael@lilotux.net>
date Sun, 28 Mar 2010 19:28:21 +0200
parents 2c2a706fcd50
children 2e133fc0e3d9
files mcabber/contrib/events/eventcmd
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/contrib/events/eventcmd	Sun Mar 28 16:27:03 2010 +0200
+++ b/mcabber/contrib/events/eventcmd	Sun Mar 28 19:28:21 2010 +0200
@@ -44,6 +44,8 @@
   # Buddy $arg2 status is $arg1 (_, O, I, F, D, N, A)
   echo > /dev/null
 elif [ $event = "UNREAD" ]; then
-  # $arg1 is the number of unread buffers
+  # $arg1 contains 4 numbers separated with space chars:
+  # Nr of unread buffers, nr of unread buffers with attention sign,
+  # nr of MUC unread buffers, nr of MUC unread buffers with attention sign.
   echo > /dev/null
 fi