Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import xchat
- __module_name__ = "Color Ignore"
- __module_version__ = "1.0"
- __module_description__ = "Nick changes won't make channels change to 'new info' color"
- # Timer
- def command_timer(userdata):
- try:
- thechannel = xchat.find_context(channel=userdata[1])
- thechannel.command(userdata[0])
- except:
- xchat.command(userdata)
- # Nick change ignore
- def color_ignore(word, word_eol, userdata):
- data = ["gui color 0", xchat.get_info("channel")]
- xchat.hook_timer(20, command_timer, data)
- xchat.hook_print("Change Nick", color_ignore)
- xchat.hook_print("Your Nick Changing", color_ignore)
Advertisement
Add Comment
Please, Sign In to add comment