how about, a warning. Probably 2 warnings if they continued using repeated letters. Then kick on the 3rd time. Can u modified for me if im not asking too much.. :)
on @*:kick:#:{
if ($knick == $me) {
echo $active $timestamp 0,3 $nick kicked u from $chan $+ . Crason: $1-
join $chan
kick $chan $nick Dumn dont kick me from $chan
}
}
I test it and I run it. I observed that, if some operator kick me out of purpose, the action will be is (ChanServ: #channelname - ME has deopped YOU) if im in the auto join when kick. and it never trigger the kick revenge.
my question is,
where is the line that saying, (Dumn dont kick me from $chan)?
Im referring to TYE script from canada who wrote of this script.
; Copy the following code into your remotes (Alt+R)
; Tye @ Undernet #mirc.net
on @*:TEXT:*:#: {
; The list of swears. Words should be separated by commas
var %swears = fark,shoot,mittens
; Number of times to warn before banning
var %warns = 2
var %x = $numtok(%swears,44)
tokenize 32 $strip($1-)
while (%x) && ($nick isreg $chan) {
if ($istok($1-,$gettok(%swears,%x,44),32)) {
inc $+(%,swear.,$wildsite)
var %n = $($+(%,swear.,$wildsite),2)
if (%n <= %warns) {
notice $nick $nick $+ , this is your $ord(%n) warning for using forbidden language in this channel. $iif(%n = %warns,Breaking the channel rules one more time will result in ban.)
}
elseif (%n > %warns) {
ban -ku300 $chan $nick 2 Using forbidden language
unset $+(%,swear.,$wildsite)
}
}
dec %x
}
}
; Reset all of the swear data on mIRC start
on *:START: { unset %swear.* }
so, where will I delete the part of this script to enable to kick anybody and warn anybody who uses the foul word.
the script is very nice coz if u violate the script, it will warns u. but my concern is how can u make enable to kick the Operator when he or she type the badwords... can u give me an example where to put the command in the script?
I like the script so much, is so very simple and it gives a warning. But I have a question, Can u give me an exact sample on how not to kick some friend in the channel.
can u enumerate the step's one-by-one..
how about, if an OPERATOR uses any badwords... why is it the script could not kick him/her.. what are the modification of the script could kick an OPERATOR...