Swear Kick
Platform: mIRC
Published May 29, 2005
Updated Sep 04, 2008
This script will kick and ban any user who says a word in the text file swear.txt
Just add each word on a new line of the text file and you're all set ^_^
on *:INPUT:*:{
if ($1 == !skon) { %st.swear = on | msg $chan Swear Kick is now On }
if ($1 == !skoff) { unset %st.swear | msg $chan Swear Kick deactivated }
}
on *:TEXT:*:#:{
if ((%st.swear == on) && ($nick !isop $chan)) {
var %check = 1
while (%check <= $lines(swear.txt)) {
if ($read(swear.txt, %check) isin $1-) {
mode $chan +b $wildsite
kick $chan $nick PUT MESSAGE HERE
}
inc %check 1
}
}
}
}