Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import hexchat
- __module_name__ = "moo"
- __module_version__ = "1.1"
- __module_description__ = "It moos"
- def cb(word, word_eol, userdata):
- if(word[1]=="!moo"):
- channel = hexchat.get_info("channel")
- hexchat.command("MSG %s %s" %(channel, "moooo."))
- return hexchat.EAT_NONE
- hexchat.hook_print("Channel Message", cb)
- hexchat.hook_print("Your Message", cb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement