commit ba1e80aa327f6d8a99fd9adac18ce97e4b1eb5d3
parent 41410114732fc9e4d2991f7645a0173bb74d9460
Author: hhvn <dev@hhvn.uk>
Date: Sat, 20 Nov 2021 13:05:37 +0000
filters.sh: misc
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/filters.sh b/filters.sh
@@ -146,6 +146,8 @@ huh(){
"I don't get it" \
"That makes no sense" \
"Try something else.." \
+ "I'm a fucking bot man, cut me some slack" \
+ "*yawn* RTFM" \
)
}
@@ -191,6 +193,7 @@ calc(){
( sed 's/.*calc //' | timeout 5 bc | head -n5; ) 2>&1 | prepl_msg
}
+
match_motd send_join "#hlircnet"
match_motd send_join "#test"
# match_msg "^($nick[:,] |)(good |)(hi|hello|greetings|sup|morning|afternoon|evening|day)(.*$nick.*|)$" greet
@@ -205,6 +208,8 @@ match_msg "^$nick[:,] (calc|bc)" calc
match_msg "^$nick[:,] good |)night(.*$nick.*|)$" night
match_msg "^$nick[,:] ($(ls bin/ | tr '\n' '|' | sed 's/|$//g'))" bin
match_msg "^$nick[,:] (sudo|doas) ($(ls bin/ | tr '\n' '|' | sed 's/|$//g'))" binsu
+clshit() { repl_msg "Calling clownflare shit, $NICK"; }
+match_msg "^$nick[,:] what is your purpose" clshit
match_msg "^pooo*p" sand
match_msg "http[s]*://.*" url_title
# match_msg "^(lul|lol|hah|hehe|heh|haha).*wut\?" shrug