ALT+R and paste it into a new page in remotes.
An easy to use, right click the channel, or click your status, and you'll see a menu called "AIO protection". Hold the mouse over it, a menu will appear, and activte the script.
(The kick counter is not mine, I borrowed it by Nachos, and it was okay. So, the credit for the kick counter goes to Nachos.)
Thanks again, but most important; Please, Do not ripp this script or modify and call it "yours".
Please give me a little review in the comments, and vote for the script please ^^.
Thank you.
:###########################################
;#AIO ban, deop and kick protection (soft) #
;#By: Lindrian. #
;#You can reach me at all times at: #
;#irc.deltaanime.net @ #Lindrian #
;###########################################
;The script only works if you're on a server with chanserv and ;souch.
;If you find any bugs or souch, tell me please.
;This script has no "cruel" revenges. deop and kick is the worst ;).
;I made this myself, here, right on the snippet board.
;I havent tested it out, so incase something's wrong,
;tell me please and I ;will fix it asap.
;DO NOT RIPP OR MODIFY THISS SCRIPT PLEASE.
;----------------------------------------------------------------------
#deop off
on !@*:deop:#: {
if ($nick == $me) { halt }
if ($opnick == $me) {
cs op $chan $me
mode $chan -o $nick
kick $chan $nick Please, Do not DEOP me for no reason.
}
}
#deop end
#ban off
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
}
}
#ban end
#kick off
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.
}
}
#kick end
raw 471:*: { cs invite $2 }
raw 473:*: { cs invite $2 }
raw 475:*: { cs invite $2 }
raw 477:*: { cs invite $2 }
raw 474:*: { cs unban $2 $me | cs invite $2 }
alias kck {
if ($($+(%,kick.,$1,.timer),2) != on) {
inc %kickcount 1
kick # $1 $2- (Kick number:10 %kickcount $+ !
set -u3 %kick. $+ $1 $+ .timer on
}
}
menu channel,status {
Nabi
.Full Protection:/enable #kick | /enable #ban | /enable #deop | echo -a All groups were succesfully enabled.
.Disable all:/disable #kick | /disable #ban | /disable #deop | echo -a All groups were succesfully disabled.
.Kick Protection $iif($group(#kick) == on,Off,On) : $iif($group(#kick) == on,disable,enable) #kick | echo $iif($group(#kick) == on,AIO kick protection enabled. ,AIO kick protection disabled.)
.Ban Protection $iif($group(#ban) == on,Off,On) : $iif($group(#ban) == on,disable,enable) #Ban | echo $iif($group(#Ban) == on,AIO ban protection enabled. ,AIO ban protection disabled.)
.Deop Protection $iif($group(#deop) == on,Off,On) : $iif($group(#deop) == on,disable,enable) #deop | echo $iif($group(#deop) == on,AIO deop protection enabled. ,AIO deop protection enabled.)
.-
.Silence user: mode # +b ~q: $+ $$?="Who would you like to silence?" | echo -a $nick was succesfully silenced.
.-
.Advertise: describe $chan is using AIO ban protection version 1.0 by: Lindrian.)
}
/me follow rules
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.
}
}
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.
Hey, it just reached the top. First someone walks up and acces me of riping this code, which i made myself. And then this no_body walks up and says my code if full of crap, Well instead of pushing me, why dont you just go ahead and give me any suggestions? Tell me what i should fix to te next time im making a code?
I would like to make a statement about what is going on here.
1ST if you are going to post something about some one code/addons etc etc please be positave as well as showing him/her there mistakes.
2nd Dont be RUDE
3rd If you are going to make a statement about some one code/work being ripped better have a url/link to prove it or dont say it at all plain and simple.Anymore abuse of this matter will be reported to Hawkee/Admin from here on out with no exceptions.This is a great website for help of all sorts and this behaviour will not be torlerated.
If ($bnick == me) || ($banmask iswm $address($me,5)) {
^^ ($banmask iswm $address($me,5))
this only would do just fine why put some extra stuff?
.timer 1 1 join $chan
.timer 1 1 mode $chan -o $nick
.timer 1 1 kick $chan $nick Please, Do not kick me.
What\'s this for? lolz
alias kck {
if ($($+(%,kick.,$1,.timer),2) != on) {
inc %kickcount 1
kick # $1 $2- (Kick number:10 %kickcount $+ !
set -u3 %kick. $+ $1 $+ .timer on
}
}
Full of crap
;DO NOT RIPP OR MODIFY THISS SCRIPT PLEASE.
^_^ not bad considering you rip scripts
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.
}
}
^_^ LMFAO why deop him then kick him? if you kick him hes guranteed to get his op removed. PMFSL
on !@*:BAN:#: {
If ($bnick == me) || ($banmask iswm $address($me,5)) {
.auser banner $wildsite
mode $chan -ob+eea $nick $banmask $adress($me,1) $adress($me,2)
kick # $nick Please, Do not ban me!
}
}
^_^ what is that +a doing? :D and its $address not $adress
[/being-an-ass]