blechinger

points_script.py #3

Nov 7th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. import hexchat
  2. import re
  3.  
  4. __module_name__ = "points_script.py"
  5. __module_author__ = "blechinger"
  6. __module_version__ = "1"
  7. __module_description__ = "Get Points to shut the fuck up."
  8.  
  9. def onotice_cb(word, word_eol, userdata):
  10.  
  11.         if word[1]
  12.         and "You gained" in word[1]:
  13.         return hexchat.EAT_ALLA
  14.  
  15. hexchat.hook_print("Notice", onotice_cb)
Add Comment
Please, Sign In to add comment