comparison 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
comparison
equal deleted inserted replaced
354:80ccf8e6c23f 355:c5a7a7273986
40 #set load_logs = 1 40 #set load_logs = 1
41 #set logging_dir = /home/mikael/.mcabber/histo/ 41 #set logging_dir = /home/mikael/.mcabber/histo/
42 42
43 # External command for events 43 # External command for events
44 # You can specify a script or process to be launched when an event occurs. 44 # You can specify a script or process to be launched when an event occurs.
45 # For now it is called the following way: 45 # The command is called the following way:
46 # $events_command MSG IN jabber@id 46 # $events_command MSG IN jabber@id (when receiving a message)
47 # ... when receiving a message (see sample script in contrib/). 47 # $events_command MSG OUT jabber@id (when sending a message)
48 # $events_command STATUS X jabber@id (new buddy status is X)
49 # See sample script in contrib/ directory.
48 #set events_command = /home/mikael/.mcabber/eventcmd 50 #set events_command = /home/mikael/.mcabber/eventcmd
49 51
50 # Debug logging 52 # Debug logging
51 # If you want advanced debug, please specify a file here. 53 # If you want advanced debug, please specify a file here.
52 # You can enable debug in main.c before compiling mcabber, too. 54 # You can enable debug in main.c before compiling mcabber, too.