Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===Original Script -- http://pastebin.com/2AKazTgf ===
- import xchat
- __module_name__ = "ignore"
- __module_version__ = "0.2"
- __module_description__ = "Can ignore things!"
- # event handlers
- def allow_it(word, word_eol, userdata):
- return xchat.EAT_NONE
- def ignore_it(word, word_eol, userdata):
- if xchat.get_info("network") == 'Spotchat':
- return xchat.EAT_XCHAT
- # hook events (See Settings/Advanced/Text Events)
- xchat.hook_print("Change Nick", ignore_it)
- xchat.hook_print("Channel Voice", ignore_it)
- xchat.hook_print("Channel Operator", ignore_it)
- xchat.hook_print("Join", ignore_it)
- xchat.hook_print("Part", ignore_it)
- xchat.hook_print("Part with Reason", ignore_it)
- xchat.hook_print("Quit", ignore_it)
- # that's it!
- print "\002ignore.py\002 loaded"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement