Vegito commented on a Page, type on text kick (bot)  -  Aug 10, 2013

You can use this:

on *:text:*:#: {
  if (%kicknick. [ $+ [ $nick ] ]) kick # $nick You're not allowed to talk. 
  if ($1 = !kon && $nick isop #) {
    if (%kicknick. [ $+ [ $2 ] ]) { msg # That person is already added. | halt }
    set %kicknick. $+ [ $2 ] ] | msg # $2 next time when you talk you will be kicked. 
  } 
  if ($1 = !koff && $nick isop #) {
    if (!%kicknick. [ $+ [ $2 ] ]) { msg # $nick that person is not added. | halt }
    msg # $2 has been removed out kicklist. | unset %kicknick. $+ [ $2 ] ]
  }
}
 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.