Kick/Ajoin/Counter

By DragonFlare on Aug 01, 2008

This is a snipplet that when you get kicked it will automaticly join the channel you got kicked from and msg the channel how many times you have been kicked for you or your bot

on *:load:{
  echo You have loaded DragonFlares Kick/Ajoin/Counter
  echo ????????????????? A DragonFlare's Network Production
}
on *:kick:#:{
  if ($knick == $me) {
    inc %kick 
    join #
    .msg $chan I've been kicked %kick Times   
  }
}

Comments

Sign in to comment.
DragonFlare   -  Aug 01, 2008

Thanks EL it has been Updated

 Respond  
EL   -  Aug 01, 2008

As it is now you var for you counter is increasing every time theres a kick,You only wan it to increase wen you are kicked ,move the inc %kick UNDER the if ($knick == $me) {.`-.-´

 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.