__module_name__ = "annoyswb" __module_version__ = "0.1" __module_description__ = "" __module_author__ = "" import xchat, re def test(word, word_eol, userdata): if word[0] == "swb": if "hello braingrind!" in word_eol: xchat.command("msg #aber hello swb!") ev = ("Channel Message", 1) xchat.hook_print(ev[0], test, ev) print "loaded"