mrmondays first python script
public python v1 · immutable__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 is !command: mychan.command('say This is a command')xchat.hook_print("Channel Message", msg-chan)