Last active
August 29, 2015 14:27
-
-
Save sim642/e8a88284eec095d9d6c9 to your computer and use it in GitHub Desktop.
WeeChat password hiding triggers "fixed" for multiple args
This file contains hidden or 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
/trigger addreplace cmd_pass2 modifier "6000|input_text_display;6000|history_add;6000|irc_command_auth" "" "/.*/${tg_string}/tg_modifier X^((/(msg|m|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)|.*X${re:+}Xtg_modifier /[^\ ]/*/tg_modifier X^((/(msg|m|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)X${re:1}${tg_modifier}X" |
This file contains hidden or 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
/trigger addreplace msg_auth2 modifier "6000|irc_message_auth" "" "/.*/${tg_string}/tg_modifier X^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)|.*X${re:+}Xtg_modifier /[^\ ]/*/tg_modifier X^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)X${re:1}${tg_modifier}X" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment