Mercurial > xib
comparison example_config.xml @ 17:32a35f7eff70
Rewrote/modified many things, multiple bridges should now work and are preferred over multiple bots.
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Thu, 20 Aug 2009 01:00:54 +0200 |
parents | 0c4a7452d66c |
children | 6481b9bb95aa |
comparison
equal
deleted
inserted
replaced
16:0c4a7452d66c | 17:32a35f7eff70 |
---|---|
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> | 5 <bridge mode='normal'> |
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> | 8 </bridge> |
9 <!-- WARNING: multiple bridges is not currently well-implemented, start multiple bots instead --> | |
10 </bot> | 9 </bot> |
11 <!-- WARNING: do NOT start two bots with the same JID or the same nickname --> | 10 <!-- 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 --> | |
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 --> | |
12 </config> | 13 </config> |