Nick Modes

By StaticX__ on Jul 31, 2008

Here is a remote which I made and allows you to select nick modes (Silence Mode, Ignore-All Mode, Kick-All Mode, Ban-All Mode)
With Silence Mode, everyone who queries you, is automatically ignored for 2 minutes.
With Ignore-All Mode, you ignore all people (!@*).
With Kick-All Mode, everyone who joins in the channel is kicked, but only if you have op.
With Ban-All Mode, everyone who joins in the channel is banned, but again only if you have op.

You just do a right click in the channel you are.

;#######Put this code below in the Popups section#######

.Modes
..Silence Mode ( $+ %silencemode $+ )
...$iif(%silencemode == on, Off, On) { 
  /set %silencemode $iif(%silencemode == on, Off, On) 
  /echo -a Silence Mode is now %silencemode
}
.-
..Ignore All Mode ( $+ %ignoreallmode $+ )
...$iif(%ignoreallmode == on, Off, On) { 
  /set %ignoreallmode $iif(%ignoreallmode == on, Off, On) 
  /echo -a Ignore All Mode is now %ignoreallmode
  if (%ignoreallmode == on) { /ignore *!*@* }
  if (%ignoreallmode == off) { /ignore -r *!*@* }
}
.-
..Kick All Mode ( $+ %kickallmode $+ )
...$iif(%kickallmode == on, Off, On) { 
  /set %kickallmode $iif(%kickallmode == on, Off, On) 
  /echo -a Kick All Mode is now %kickallmode
}
.-
..Ban All Mode ( $+ %banallmode $+ )
...$iif(%banallmode == on, Off, On) { 
  /set %banallmode $iif(%banallmode == on, Off, On) 
  /echo -a Ban All Mode is now %banallmode
}

;#######Put this code below in the Remotes section#######

on *:OPEN:*:?:{
  if (%silencemode == On) {
    /msg $nick Sorry, I Am in Silence Mode. Don't Disturb me.
    /ignore -u240 $nick
    /closemsg $nick
  }
}

on *:JOIN:#:{
  if ($me isop #) && ($nick != $me) {
    if (%kickallmode == On) {
      /kick # $nick Kick All Mode Enabled! Byez.
    }
    if (%banallmode == On) {
      /mode # +b $address($nick,5)
    }
  }
}

Comments

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.