Mercurial > xib
comparison example_config.xml @ 28:6481b9bb95aa
Added documentation for the "say_level" attribute.
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Fri, 21 Aug 2009 00:58:47 +0200 |
parents | 32a35f7eff70 |
children | f38735f609b9 |
comparison
equal
deleted
inserted
replaced
27:9b7a628ca612 | 28:6481b9bb95aa |
---|---|
1 <?xml version="1.0" ?> | 1 <?xml version="1.0" ?> |
2 <config> | 2 <config> |
3 <bot jid='some_bot@example.net' password='do not forget to escape xml entities like &' nickname='xib-bot-nickname' debug='true'> | 3 <bot jid='some_bot@example.net' password='do not forget to escape xml entities like &' nickname='xib-bot-nickname' debug='true'> |
4 <!-- WARNING: do NOT set debug to "true" if you are sending the bot's stderr to a file, it logs every XMPP stanza and IRC event without controlling the size of the resulting file --> | 4 <!-- WARNING: do NOT set debug to "true" if you are sending the bot's stderr to a file, it logs every XMPP stanza and IRC event without controlling the size of the resulting file --> |
5 <bridge mode='normal'> | 5 <bridge mode='normal' say_level='all'> |
6 <xmpp-room jid='dream-world@chat.example.com'/> | 6 <xmpp-room jid='dream-world@chat.example.com'/> |
7 <irc chan='#dream-world' server='irc.example.org'/> | 7 <irc chan='#dream-world' server='irc.example.org'/> |
8 </bridge> | |
9 <bridge mode='minimal' say_level='nothing'> | |
10 <xmpp-room jid='room@chat.example.com'/> | |
11 <irc chan='#chan' server='irc.example.org'/> | |
8 </bridge> | 12 </bridge> |
9 </bot> | 13 </bot> |
10 <!-- WARNING: do NOT start two bots with the same JID or the same nickname --> | 14 <!-- WARNING: do NOT start two bots with the same JID or the same nickname --> |
11 <!-- WARNING: two bots connecting to the same XMPP MUC server and/or the same IRC server may conflict, it is better to use multiple bridges --> | 15 <!-- WARNING: two bots connecting to the same XMPP MUC server and/or the same IRC server may conflict, it is better to use multiple bridges --> |
12 <!-- NOTICE: even if you use multiple bridges instead of multiple bots, conflicts may still appear if somebody else is running a bot on the same XMPP MUC server and/or the same IRC server --> | 16 <!-- NOTICE: even if you use multiple bridges instead of multiple bots, conflicts may still appear if somebody else is running a bot on the same XMPP MUC server and/or the same IRC server --> |