Mercurial > ~mikael > mcabber > hg
comparison mcabber/contrib/events/eventcmd @ 1444:3bf11085c6a5
New external "UNREAD" event (suggested by Viacheslav Chumushuk)
Thanks to Viacheslav for the suggestion and sample patch.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 02 Mar 2008 11:14:42 +0100 |
parents | fcef5d34b7d4 |
children | 048bcde98fc6 |
comparison
equal
deleted
inserted
replaced
1443:0623d694a77f | 1444:3bf11085c6a5 |
---|---|
41 ;; | 41 ;; |
42 esac | 42 esac |
43 elif [ $event = "STATUS" ]; then | 43 elif [ $event = "STATUS" ]; then |
44 # Buddy $arg2 status is $arg1 (_, O, I, F, D, N, A) | 44 # Buddy $arg2 status is $arg1 (_, O, I, F, D, N, A) |
45 echo > /dev/null | 45 echo > /dev/null |
46 elif [ $event = "UNREAD" ]; then | |
47 # $arg1 is the number of unread buffers | |
48 echo > /dev/null | |
46 fi | 49 fi |
47 |