Snowball is an easily scriptable IRC bot framework written in PHP.
irc
icee
ice ball
ice bot
snowcone
snowbot
snowball
With composer.
composer require lukevers/snowball
Although composer is preferred, you can just clone this.
Sure! I've got some in the repository. Checkout the examples directory.