Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __module_name__ = "helloworld"
- __module_version__ = "1.0"
- __module_description__ = "Python module example"
- import xchat
- def give_pie(word, word_eol, userdata):
- # if find pressy, then display image of pie
- line = "".join(word[1:])
- if line.find(" y ") != -1:
- xchat.command("say pie_image.jpg")
- #cnc = xchat.find_context(channel='#OUDhitsquad')
- #cnc.command('whois interloper')
- xchat.hook_print("Channel Message", give_pie)
Advertisement
Add Comment
Please, Sign In to add comment