Marshtomp commented on a Page, AIO soft ban/kick/deop protection. v.1,0  -  Dec 29, 2006

/me follow rules

deop off

on !@:deop:#: {
if ($nick == $me) { halt }
if ($opnick == $me {
cs op $chan $me
mode #channel -o $nick
kick $chan $nick Please, Do not DEOP me for no reason.
}
missing a ) on if ($opnick line)
also mode $chan or use a variable; most people are to lazy to edit it.. ;)
on !@
:BAN:#: {
If ($bnick == me) || ($banmask iswm $address($me,5)) {
.auser banner $wildsite
mode $chan -ob+eea $nick $banmask $address($me,1) $address($me,2)
kick # $nick Please, Do not ban me!
cs akick $chan clear
}
}
i beleive you only need 1 +e there... and can\'t you only use on :MODE:: if ($1 == +b)?
on !@*:KICK:#:{
if ( $knick == $me ) {
.timer 1 1 join $chan
.timer 1 1 mode $chan -o $nick
.timer 1 1 kick $chan $nick Please, Do not kick me.
}
}

You don\'t need the spaces there...

the timers are not needed.
raw 474:*: { cs unban $2 $me | cs invite $2 }
what is the $me for? ;s
Going to check out the popups later.
\"
;DO NOT RIPP OR MODIFY THISS SCRIPT PLEASE.

^_^ not bad considering you rip scripts
\"
I think he means the kick counter, but I know you are new at scripts, i saw a comment about it somewhere....
I think its good, using RAW numerics. Just one thing about that.... If you wern\'t using this script but had it loaded it would trigger the raw numerics in those cases, and result in many $2 == $null and $chan == $null etc.

You also doen\'t need to use CS to use your commands. There are commands /kick -b /ban etc EXCEPT for /op /halfop ect. You would need to use a /mode command. ALL IN ALL i think its a good script!
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.