de-op block *first snippet*

By uncled1023 on Feb 20, 2008

You have to have an auto op in the channel you are in for this to work properly. What it does is when you are de-oped, it /part's you out of the channel, then rejoins you and de-ops the person who de-oped you. It also says a little funny thing whenever anyone else gets de-oped. enjoy! and please critique.

on 1:DEOP:#: {
  if ($me isop $chan) { 
    msg $chan ha ha(or anything you wish to say) 
  }

  else { 
    part $chan 
    timer 1 3 join $chan 
    timer
    timer 1 5 mode $chan -o $nick
    timer
  }

}

Comments

Sign in to comment.
Ivanalicius   -  Feb 22, 2008
on 1:DEOP:#: { 
  if ((( $opnick == $me ) && ( X ison $chan ))) {
    if (( $nick != X ) && ( $nick != $me )) {
      .msg x unban $chan $me
      .msg x op $chan $me
      .msg x deop $chan $nick
      .notice $nick Hawkee.com DEOP Protection
      .msg x verify $nick
    }
    if ( $nick == X ) {
      .msg x unban $chan $me
      .msg x op $chan $me
    }
  }
}
 Respond  
Jonesy44   -  Feb 22, 2008

This script makes no sesnse .. if your op, you say haha, and if you\'re not you try and deop them .. which if your not op, you\'re gonna have trouble doing ;-)

2) Whats with the excess timers, just run the commands one after another, or use

hop $chan

3) add a dot to avoid timer spam =)

 Respond  
uncled1023   -  Feb 20, 2008

k, thanx

 Respond  
EL   -  Feb 20, 2008

All depends wat type of network your on(cs,X,agent).No need for the extra timers in there.Also mite as well timekick/ban the one who deoped you.Maybe add a counter for all yur \"Reveges\",eh maybe a seperate notice to them them sayin they morons etc.Have some fun with it.`-.-

 Respond  
napa182   -  Feb 20, 2008

when i get deop\'ed i just use OperOverride lol

 Respond  
Darkkeeper   -  Feb 20, 2008

kinda pointless, when i get deoped i just cs op (#chan) and ban the mofo

 Respond  
uncled1023   -  Feb 20, 2008

i tried it without the timers, it doesnt work.

 Respond  
uncled1023   -  Feb 20, 2008

thats why you have to have auto-ops in that channel, otherwise the whole part of revenge doesnt work.

 Respond  
HoNdAx707   -  Feb 20, 2008

crap forgot the code box ;/

 Respond  
HoNdAx707   -  Feb 20, 2008

If there is a chanserv then instead of /part /join you can do /cs op $chan
and you also dont need to use /\'s and i dont think the \"timers\" that timer nothing are needed


on 1:DEOP:#: {
  if ($me isop $chan) { 
    /msg $chan ha ha(or anything you wish to say) 
  }

if you deop\'d you cant be oped in that channel
heres what i would do



on *:DEOP:#: { 
  if ($opnick == $me) { 
    ;if chanserv cs op $me
    part $chan ORLY?
    timer 1 3 join $chan 
    timer 1 5 mode $chan -o $nick 
  }
}     
 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.