Skip to content

Instantly share code, notes, and snippets.

View bencentra's full-sized avatar

Ben Centra bencentra

View GitHub Profile
@bencentra
bencentra / loose_cannon.py
Last active December 17, 2015 17:39
A short python script for XChat that will automatically reply for you when a user is kicked from the channel.
# Import xchat module
import xchat
# Required module information
__module_name__ = "loose cannon"
__module_version__ = "1.0"
__module_description__ = "Annoy the ops, namely agargiulo"
# Define the callback method for our hook
def loose_cannon_cb(word, word_eol, userdata):