All pastes #518700 Raw Edit

mrmondays first python script

public python v1 · immutable
#518700 ·published 2007-05-29 11:55 UTC
rendered paste body
__module_name__ = "say hi xchat" __module_version__ = "1.0" __module_description__ = "mrmondays first script!" import xchat mychan = xchat.find_context(server='chat.freenode.net', channel='#xchat')def msg-chan(word, word_eol, userdata):   if word[1] == "!command":     mychan.command('say This is a command')xchat.hook_print("Channel Message", msg-chan)