comparison mcabber/contrib/eventcmd @ 457:2fd528c49173

Add MUC message type in sample eventcmd script
author Mikael Berthe <mikael@lilotux.net>
date Tue, 27 Sep 2005 21:58:01 +0200
parents c5a7a7273986
children c7f94f6e51f0
comparison
equal deleted inserted replaced
456:471c9ccde028 457:2fd528c49173
20 case "$arg1" in 20 case "$arg1" in
21 IN) 21 IN)
22 # Incoming message from buddy $arg2 22 # Incoming message from buddy $arg2
23 $CMD_MSG_IN > /dev/null 2>&1 23 $CMD_MSG_IN > /dev/null 2>&1
24 ;; 24 ;;
25 MUC)
26 # Groupchat message in room $arg2
27 ;;
25 OUT) 28 OUT)
26 # Outgoing message for buddy $arg2 29 # Outgoing message for buddy $arg2
27 ;; 30 ;;
28 esac 31 esac
29 elif [ $event == "STATUS" ]; then 32 elif [ $event == "STATUS" ]; then