Added ability to autorejoin after being kicked.

This commit is contained in:
Storm Dragon committed 2017-04-28 19:20:45 -04:00
1 parent c5ee416be9
commit f559edad96
2 files changed
+9 -1

No files matched your search

+6
View File
@@ -40,6 +40,12 @@ do
*"You have not"*)
echo "JOIN #$channel" | tee -a "$input"
;;
# Run on kick
:*!*@*" KICK "*" $nick :"*)
if [ "$autoRejoinChannel" = "true" ]; then
echo "JOIN #$c" | tee -a "$input"
fi
;;
# run when someone joins
*"JOIN :#"*)
who="${result%%!*}"