Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabberrc.example @ 525:c7f94f6e51f0
Update sample mcabberrc and eventcmd script
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 20 Nov 2005 00:12:53 +0100 |
parents | fdd1637db7f3 |
children | 365e1ded7f1a |
comparison
equal
deleted
inserted
replaced
524:05c0e55c4bb1 | 525:c7f94f6e51f0 |
---|---|
39 | 39 |
40 # Set hide_offline_buddies to 1 to display only connected buddies | 40 # Set hide_offline_buddies to 1 to display only connected buddies |
41 # in the roster. | 41 # in the roster. |
42 #set hide_offline_buddies = 0 | 42 #set hide_offline_buddies = 0 |
43 | 43 |
44 # Set the auto-away timeout, in seconds. If set to a value >0, | |
45 # mcabber will change your status to away if no real activity is detected | |
46 # (command, message, move in the buddylist...). Note: auto-away only changes | |
47 # the status when it is "available" (online) or "free_for_chat". | |
48 # See 'message_autoaway' below. | |
49 #set autoaway = 0 | |
50 | |
51 # History logging | 44 # History logging |
52 # You can save the messages history: set logging = 1 | 45 # You can save the messages history: set logging = 1 |
53 # You can load (read) the messages history: set load_logs = 1 | 46 # You can load (read) the messages history: set load_logs = 1 |
54 # Default logging directory (logging_dir) is $HOME/.mcabber/histo/ | 47 # Default logging directory (logging_dir) is $HOME/.mcabber/histo/ |
55 # Defaults for logging, load_logs are 0 (disabled) | 48 # Defaults for logging, load_logs are 0 (disabled) |
62 # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0) | 55 # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0) |
63 # set log_muc_conf = 1 | 56 # set log_muc_conf = 1 |
64 | 57 |
65 # External command for events | 58 # External command for events |
66 # You can specify a script or process to be launched when an event occurs. | 59 # You can specify a script or process to be launched when an event occurs. |
60 # | |
61 # If 'event_log_files' is set, a file is created and contains the body of | |
62 # the message (incoming messages only); the file name is the last parameter. | |
63 # If you enable this, you can specify the directory mcabber will use to | |
64 # create these messages with the 'event_log_dir' variable (default is the | |
65 # system temp dir, or MCABBERTMPDIR environment variable). Please note | |
66 # that mcabber won't delete these files, it's your script's job. | |
67 # | |
67 # The command is called the following way: | 68 # The command is called the following way: |
68 # $events_command MSG IN jabber@id (when receiving a message) | 69 # $events_command MSG IN jabber@id [file] (when receiving a message) |
69 # $events_command MSG OUT jabber@id (when sending a message) | 70 # $events_command MSG OUT jabber@id (when sending a message) |
70 # $events_command MSG MUC room_id (when receiving a MUC message) | 71 # $events_command MSG MUC room_id [file] (when receiving a MUC message) |
71 # $events_command STATUS X jabber@id (new buddy status is X) | 72 # $events_command STATUS X jabber@id (new buddy status is X) |
72 # See sample script in contrib/ directory. | 73 # See sample script in contrib/ directory. |
73 #set events_command = /home/mikael/.mcabber/eventcmd | 74 #set events_command = /home/mikael/.mcabber/eventcmd |
75 # | |
76 #set event_log_files = 0 | |
77 #set event_log_dir = /home/mikael/.mcabber/event_files | |
74 | 78 |
75 # Traces logging | 79 # Traces logging |
76 # If you want advanced traces, please specify a file and a level here. | 80 # If you want advanced traces, please specify a file and a level here. |
77 # There are currently 2 traceloglog levels: | 81 # There are currently 2 traceloglog levels: |
78 # lvl 1: most events of the log window are written to the file | 82 # lvl 1: most events of the log window are written to the file |
79 # lvl 2: debug logging (XML, etc.) | 83 # lvl 2: debug logging (XML, etc.) |
80 # Default is level 0, no trace logging | 84 # Default is level 0, no trace logging |
81 #set tracelog_level = 1 | 85 #set tracelog_level = 1 |
82 #set tracelog_file = /home/mikael/mcabber.log | 86 #set tracelog_file = /home/mikael/mcabber.log |
87 | |
88 # Set the auto-away timeout, in seconds. If set to a value >0, | |
89 # mcabber will change your status to away if no real activity is detected | |
90 # (command, message, move in the buddylist...). Note: auto-away only changes | |
91 # the status when it is "available" (online) or "free_for_chat". | |
92 # See 'message_autoaway' below. | |
93 #set autoaway = 0 | |
83 | 94 |
84 # Status messages | 95 # Status messages |
85 # The "message" value will override all others, take care! | 96 # The "message" value will override all others, take care! |
86 #set message = Unique message status | 97 #set message = Unique message status |
87 #set message_avail = I'm available | 98 #set message_avail = I'm available |