CLI python script

Full plugin as a python script for use without supybot