kick protection

By fire_wizard1 on Jan 16, 2009

hey this is the first snippet that i got to work, so im pretty d@amn proud of it

on *:kick:#:
   if {$knick == $me {
      cs invite $chan $me
       timer 2 1 /cs ban $nick $address
     timer 3 1 /notice $nick you have to work harder then that to kick me xD
 }
}

Comments

Sign in to comment.
Aucun50   -  Jan 16, 2009

That could help ty forgot about that one

 Respond  
napa182   -  Jan 16, 2009

Aucun50 you left the screwed brackets in it =/

on *:kick:#:{
  if ($nick != $me && $knick == $me) {
    .cs invite # $me
    .timer.akick 1 1 .cs akick # add $address($nick,2) you have to work harder then that to kick me xD 
  }
}
 Respond  
Aucun50   -  Jan 16, 2009

/me likes end brackets tho

 Respond  
fire_wizard1   -  Jan 16, 2009

there are ya happy now Acun50, i used the snippet on peers, and it worked pretty fine, so it does not really need any ending brackets. and napa182 i put the code in the right place in the other snippet. this was my first time writing a kick protection and ban protection. and like i said im going to tackle akick next xD

 Respond  
Aucun50   -  Jan 16, 2009

No end brackets?

on *:kick:#:
if {$knick == $me {
  /cs invite $chan $me
  if ($kickmask iswm $address($me,5)) {
  .timer 3 1 /cs akick $nick $fulladdress
  /msg $nick you have to work harder then that to kick me xD
  }
}
 Respond  
napa182   -  Jan 16, 2009

um $kickmask?

you still have some screwed up brackets

also check that it's not you kicking ur self cuz you will end up akicking ur self out the channel lol

 Respond  
fire_wizard1   -  Jan 16, 2009

and i did modify this one as well, so it should work a lil bit better

 Respond  
fire_wizard1   -  Jan 16, 2009

on this one and the other protection snippet that i wrote, i was going off of two other ones, but with my own lil twist on them, and this is the one that was tested on queercommons. so ik that this one works as is.

 Respond  
napa182   -  Jan 16, 2009

hmm you have some screwed up brackets. please test ur snippets before you post them. =/

fire_wizard1  -  Jun 13, 2013

it was tested five or six years ago n always worked for me LOL

Sign in to comment

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.