===
UDP
===

__copyright__ = 'this file is in the public domain'

the bot has the capability to listen for udp packets which it will use
to /msg a given nick or channel.

udp config 
~~~~~~~~~~

edit the following section in you gozerdata/config
::

  # udp
  udp = 1 # set to 1 to enable
  udphost = 'localhost'
  udpport = 5500
  udpallow = ['127.0.0.1', ]
  udpallowednicks = ['#gozerbot', 'dunker']
  udppassword = 'mekker'
  udpseed = "blablablablablaz" # needs to be 16 chars wide

udpallow is set to the ip from which udp packets are accepted .. 
udpallowednicks are nicks/channels the bot is allowed to send messages to
and udppassword is passed along with the message. set udpseed if you want to
have your messages encrypted.

limiter
~~~~~~~

on IRC the bot's /msg to a user/channel are limited to 1 per 3 seconds so the
bot will not excessflood on the server. you can use partyudp if you need no 
delay between sent messages, this will use dcc chat to deliver the message.
on jabber bots there is no delay

toudp
~~~~~
::

  # files/toudp.py
  
  use this script to pipeline a programs output to the bot
  
  example: tail -f /var/log/httpd-access.log | ./todup.py
