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): mychan.command('say Hi!, this is my first XChat script! :)')xchat.hook_print("Channel Message", msg-chan)