Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabberrc.example @ 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 | e4ed1aec2988 |
children | a30ca1b77fa2 |
line wrap: on
line diff
--- a/mcabber/mcabberrc.example Fri Jul 22 20:21:41 2005 +0100 +++ b/mcabber/mcabberrc.example Fri Jul 22 21:45:45 2005 +0100 @@ -42,9 +42,11 @@ # External command for events # You can specify a script or process to be launched when an event occurs. -# For now it is called the following way: -# $events_command MSG IN jabber@id -# ... when receiving a message (see sample script in contrib/). +# The command is called the following way: +# $events_command MSG IN jabber@id (when receiving a message) +# $events_command MSG OUT jabber@id (when sending a message) +# $events_command STATUS X jabber@id (new buddy status is X) +# See sample script in contrib/ directory. #set events_command = /home/mikael/.mcabber/eventcmd # Debug logging