comparison mcabber/contrib/eventcmd @ 355:c5a7a7273986

Add some external actions Now the external command can get the following parameters: - MSG IN jid - MSG OUT jid - STATUS $S jid ($S == status uppercase letter: O, I, F, D, N, A, _)
author Mikael Berthe <mikael@lilotux.net>
date Fri, 22 Jul 2005 21:45:45 +0100
parents e315566f09b0
children 2fd528c49173
comparison
equal deleted inserted replaced
354:80ccf8e6c23f 355:c5a7a7273986
24 ;; 24 ;;
25 OUT) 25 OUT)
26 # Outgoing message for buddy $arg2 26 # Outgoing message for buddy $arg2
27 ;; 27 ;;
28 esac 28 esac
29 elif [ $event == "STATUS" ]; then
30 # Buddy $arg2 status is $arg1 (_, O, I, F, D, N, A)
31 echo > /dev/null
29 fi 32 fi
30 33