Untitled
public text v1 · immutable__module_name__ = "hideMessages"
__module_version__ = "0.1"
__module_description__ = "stops annoing messages in certain channels"
import xchat
EVENTS = ["Change Nick", "Quit", "Part", "Part with Reason", "Join"]
CHANNELS = [#xxx", "#xxx", "#xxx"]
def handleEvent (word, word_eol, userdata):
if xchat.get_info("channel") in CHANNELS:
return xchat.EAT_XCHAT
for i in EVENTS:
xchat.hook_print(i, handleEvent)
print("hideMessages script loaded")