mIRC Homepage
Posted By: HassanAbbas All Protection - 26/01/07 03:44 PM
on *:ban:#:{
if (( $banmask iswm $address($me,5) ) && ( $me isop $chan )) {
mode $chan -bo+b $banmask $nick $address($nick,2)
kick $chan $nick 4Hey 13 $nick  12Donot 6Try 7To 10ban 5 $me  14Again 12:4P
}
}

on *:kick:#:{
if (( $knick == $me ) && ( $me isop $chan )) {
.msg Chanserv invite $chan
.timerban2 1 2 mode $chan -o+b $nick $address($nick,2)
.timerkick2 1 3 kick $chan $nick 4Hey 13 $nick  12Donot 6Try 7To 10kick 5 $me  14Again 12:4P
}
}

on *:deop:#:{
if ( $opnick == $me ) {
.msg Chanserv op $chan
.timerban 1 2 mode $chan -o+b $nick $address($nick,2)
.timerkick 1 2 kick $chan $nick 4Hey 13 $nick  12Donot 6Try 7To 10Deop 5 $me  14Again 12:4P
}
}

on *:invite:#:{
if (( $nick == Chanserv ) || ( $nick == $2 )
join $chan
}
Thanks
Posted By: HassanAbbas Re: All Protection - 26/01/07 03:55 PM
it's work great smile blush
Posted By: learn3r Re: All Protection - 26/01/07 04:01 PM
you could store the nicks on hashtable and kick `em on your op event
Posted By: Kardafol Re: All Protection - 26/01/07 04:35 PM
"Protection" scripts are generally frowned upon, and may result in you being banned from channels, or entire networks.
Posted By: HassanAbbas Re: All Protection - 28/01/07 11:38 AM
confused any problem about this Protection
Posted By: raZOR Re: All Protection - 28/01/07 05:37 PM
Originally Posted By: HassanAbbas
confused any problem about this Protection


yes, it is spelled "do not" and not "donot" :P
one might confuse and missread it as DONUT grin
© mIRC Discussion Forums