Superior commented on a Page, JS Unregkicker  -  Oct 07, 2008

However I am not familiar with the command unregkick, I suggest you change a few things:

menu nicklist { 
  .Unreg Kick ( $+ $iif(%unregkick == on,On,Off) $+ ): {
    if (%unregkick == on) {
      set %unregkick off | .timer[unregkick] off | .notice $chan Unreg Kicks will no longer be performed. 
    }
    else {
      set %unregkick on | .timer[unregkick] 0 300 .msg chanserv unregkick $chan | .notice $chan Activation of timed Unreg Kick Confirmed. This channel is now periodically eliminating unregistered nicks. Please refrain from using such. 
    }

  }
}

This way it:
Will work at the first try!
Will work on the channel you are currently on!
Will silence the message to chanserv and the channel!

Overall, its a nice code, however you can do this with the level system inside chanserv too!

 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.