This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hexchat | |
__module_name__ = "Soft Ignore" | |
__module_version__ = "1.0" | |
__module_description = "Prevent certain nicks from showing as channel activity, create an ignore for soft:NICK" | |
def message_hook(word, word_eol, event_name): | |
ignores = hexchat.get_list("ignore") | |
mask = "soft:" + hexchat.strip(word[0], flags = 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TechSupportSr unbridger | |
// @match https://lounge.donjuanal.com/* | |
// @grant none | |
// @version 1.1 | |
// @author Alex Macleod | |
// @description Unbridges bridged discord messages from TechSupportSr | |
// @run-at document-end | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hexchat | |
import re | |
from collections import defaultdict | |
__module_name__ = "TechSupportSr Unbridger" | |
__module_version__ = "1.3" | |
__module_description = "Convert bridged messages into normal ones" | |
# https://hexchat.readthedocs.io/en/latest/script_python.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
return 301 https://$host$request_uri; | |
} |