Mercurial > ~mikael > mcabber > hg
diff mcabber/contrib/events/eventcmd @ 1846:048bcde98fc6
Update contrib eventcmd sample script
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 28 Mar 2010 19:28:21 +0200 |
parents | 3bf11085c6a5 |
children | cca19ce862ef |
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