AIO soft ban/kick/deop protection. v.1,0

By Lindrian on Dec 27, 2006

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.)
}

Comments

Sign in to comment.
Lindrian   -  Dec 29, 2006

oh well, im busy for now, wont be working on any script.

 Respond  
Marshtomp   -  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  
Lindrian   -  Dec 29, 2006

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?

 Respond  
Hawkee   -  Dec 28, 2006

Okay guys, let\'s just keep things mature. Don\'t accuse somebody of stealing code without proof. And try not to let these accusations bother you. Let\'s keep things as professional as possible around here.

 Respond  
RoninWarrior   -  Dec 28, 2006

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.

 Respond  
RoninWarrior   -  Dec 28, 2006

Lindrian this is the 1 and only warning i am giveing you about foul language you will be reported to Hawkee about this.

 Respond  
Lindrian   -  Dec 28, 2006

a alias is to add a kick number, just to show off.
And if its full of shit, why dont you improve it? Dickhead.

 Respond  
no_body21   -  Dec 28, 2006

If ($bnick == me) || ($banmask iswm $address($me,5)) {

^^ ($banmask iswm $address($me,5))
this only would do just fine why put some extra stuff?

and what\'s with the ---- .auser banner $wildsite

.timer 1 1 join $chan
.timer 1 1 mode $chan -o $nick 
.timer 1 1 kick $chan $nick Please, Do not kick me.

all in one timer...

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

 Respond  
no_body21   -  Dec 28, 2006

LOL

 Respond  
mysterycool   -  Dec 27, 2006

true! Never EVER post a script/snippet that you did in on foot! I mean that you did it with out testing it anfd stuff!

 Respond  
Lindrian   -  Dec 27, 2006

Oh dear, never thought I made souch a foolish misstake ><

 Respond  
Krobeluskill   -  Dec 27, 2006

Looks like you\'ve missed a couple of \'$\'s infront of the \'nick\'. You should double-check your snippet before you post it here.

 Respond  
Lindrian   -  Dec 27, 2006

Oh and FURBY, since youre stating im ripping script, which have I ripped? Please tell me.

And yes, on the deop, i deop first incase he got a revenge script himself, so he wont be able to harm me.

 Respond  
Nachos   -  Dec 27, 2006

Lol, as he said, he made this script right here on the modifying board.

 Respond  
Lindrian   -  Dec 27, 2006

Okay cool.
+e is protection for kicks, and +ea is a protection for bans.
If you got +e:
\"Cannot kick is on \'s protection list\"
Same message goes for the ban.

Atleast thats how I got it on my server, which uses CS and souch.

 Respond  
F*U*R*B*Y*   -  Dec 27, 2006

;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]

 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.