===
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. while packets can be potentially spoofed
its best to run the bot local on the network instead of open on the internet

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'

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.

limiter
~~~~~~~

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

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
