Simple Protections

By Arch^A^nGeL on Jan 01, 2006

This is a simple Deop, Ban, Kick protection that lets you turn it on and off. Try it out and see how it works.

#prot off
on @1:DEOP:#: { if ($opnick == $me) && ($me isop $chan) { /cs op $chan $me | /mode # +b $nick | /kick # $nick Deop Protection }
}
on @1:kick:#: { if ($knick == $me) && ($me isop $chan) { /join # | /mode # -o $nick | /mode # +b $nick | /kick # $nick Kick Protection }
}
on @1:ban:#: { if ($bnick == $me) && ($me isop $chan) { /cs unban # | /mode # -b $bnick | /mode # -o $nick | /mode # +b $nick | /kick # $nick Ban Protection }
}
#prot end

menu channel,status,menu,nicklist {
  -=[ Protections ]=-
  .On:/enable #prot
  .Off:/disable #prot
}

Comments

Sign in to comment.
SyntaxIRC   -  Dec 08, 2006

Not needed, but you could switch the positions from BAN-KICK to KICK-BAN.

The user may have a unban script ;)

 Respond  
Arch^A^nGeL   -  Jan 02, 2006

For IrCQnet and My server

 Respond  
deadly69   -  Jan 01, 2006

sup homie its deadly69 its just what i needed safe bruv keep it up

 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.