Tchatting.com Forums
mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks!

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 26-02-2005, 04:01 PM
BiG^^Ev|L BiG^^Ev|L est déconnecté
Registered User
 
Join Date: Feb 2005
Posts: 4
BiG^^Ev|L is on a distinguished road
deop protection

on 1:deop:#:{
if (($nick != $me) && ($opnick == $me)) {
.ChanServ op $chan $me
}
Reply With Quote
  #2  
Old 26-02-2005, 04:47 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Re: deop protection

anddd this snippet is not usefull also... :S u can`t turn it on! maybe an op deoped u coz u are away! or an sop deoped u for some reason!
__________________
Reply With Quote
  #3  
Old 05-03-2005, 05:11 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

Easy, Cult, just use it this way. I added some error checking to it, with explanations.

Code:
on 1:deop:#:{
  if (($nick != $me) && ($opnick == $me) && ($nick != chanserv) && (%deopprot == on)) {
    
  ; checks if i am deoping someone, then if i am the one who is getting deoped, then if the chanserv is deoping me
  ; that is a usefull way, the sops can always use the chanserv to deop Aops or those of matching access level, so can the aops.
    
    $iif($scid($activecid).$away,halt,chanserv op $chan $me)
    
    ; checks if your away, on that server. so if you are away and some1 deoped you, you will NOT try to reop urself.
    ; i just added a simple multi server check, as mIRC 6.x supports multi servers.
    ; if you dont like it that way, instead of $scid($activecid).$away just use $iif($away,halt) it does the same job.
  }
}

menu channel,status,menubar {
  deop protection
  .$iif((%deopprot == $null) || (%deopprot == off),turn on):set %deopprot on
  .$iif((%deopprot == on),turn off):set %deopprot off
}

Cult, If i missed anything let me know
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::

Last edited by ZAcK; 05-03-2005 at 06:18 AM.
Reply With Quote
  #4  
Old 05-03-2005, 07:04 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Re: deop protection

nice way bro, but... u missed that most ops just use the popups to deop/op means not all the time they use chanserv.
__________________
Reply With Quote
  #5  
Old 06-03-2005, 05:34 PM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

Quote:
Originally Posted by Cult
nice way bro, but... u missed that most ops just use the popups to deop/op means not all the time they use chanserv.

e7em.. and that is my problem?! if they want a solution, here is one, win some, lose some.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #6  
Old 08-03-2005, 04:47 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

And you can add something more easier if ($away)
Reply With Quote
  #7  
Old 09-03-2005, 07:11 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

anmlhckr, I said you can use that! Read again.
Quote:
; if you dont like it that way, instead of $scid($activecid).$away just use $iif($away,halt) it does the same job.
The way I set it originally, is better actually, for those who connect on more than one network at the same time, using the same client, otherwise it wouldn't make a difference if you use the long or short one.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #8  
Old 10-03-2005, 01:37 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

I really wonder why people use DEOP protection and BAN-KICK protection, they are useless since you are opped and noy away why should someone DEOP you, if u r not doing anything wrong, and for the BAN-KICK protection, simply ask the user not to ban you, cause revanges suck !
Reply With Quote
  #9  
Old 11-03-2005, 01:23 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

LooooooooooooooooooooooooooooooooooooooooooooL!! Is this guy for real?!
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #10  
Old 12-03-2005, 03:00 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Re: deop protection

donno.. ask`m btw ZAcK.. what`s u`r nationality?
__________________
Reply With Quote
  #11  
Old 12-03-2005, 05:37 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

Nah zack really .... they suck dude ! really :P ! Just deop that user who kicks u and tell him NOT TO DO IT AGAIN !
Reply With Quote
  #12  
Old 13-03-2005, 02:11 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

Cilt, I am Jordanian living in the states
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #13  
Old 13-03-2005, 10:08 AM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

Zack, where in states .. am in florida, ganzvaile ! (-:
Reply With Quote
  #14  
Old 13-03-2005, 06:30 PM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

Location: Wayne, NJ
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #15  
Old 13-03-2005, 06:59 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

Far away zack ...
Reply With Quote
  #16  
Old 14-03-2005, 12:48 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

Dont you mean you live in Gainesville not Ganzvaile?? A typo I guess. And yeah I guess it is far away, I have friends in Casselberry, people I met over the net actually but never met in person, if I ever go down there, I'll let you know, so you can hide away :P
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #17  
Old 14-03-2005, 06:43 AM
DraC's Avatar
DraC DraC est déconnecté
The SeXiesT Sop
 
Join Date: Jan 2005
Location: U.A.E
Posts: 107
DraC is a glorious beacon of lightDraC is a glorious beacon of lightDraC is a glorious beacon of lightDraC is a glorious beacon of lightDraC is a glorious beacon of light
Re: deop protection

deop protection - kick/ban protection is only useful for one reason: preventing mkicks ! ...

anmlhckr <<< does that answer ur question ?

Sometimes people like to play or simply act like kids ... n dont tell me why you added them from the beginning cause noone is perfect ... there is always a time where we, even i, like to play around

Zack good addon... thnx for sharing ur knowledge
__________________
The Most Seductive Evil of all Time !!!
Reply With Quote
  #18  
Old 14-03-2005, 02:14 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

Zack, i can send ya a map my mate and let ya know its Ganzvaile (-:, sure you are mostly welcome in the town .. and i wont hide hehe :P anyway We would be glade if u were here, have a nice day dude.
Reply With Quote
  #19  
Old 14-03-2005, 02:16 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: deop protection

Drac first of all, if you wanna add an AOp, SOp you should trust him first, there4 they wont mKICK the channel or do somethin harmful ! So really its useless ... so if you trust them as well as u trust ur self or u dont u mustnt add them from the first, and they are useful just for WAR/REVANGES scripts , add-ons, have a nice day Drac.
Reply With Quote
  #20  
Old 16-03-2005, 01:05 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: deop protection

Quote:
Originally Posted by anmlhckr
Zack, i can send ya a map my mate and let ya know its Ganzvaile (-:, sure you are mostly welcome in the town .. and i wont hide hehe :P anyway We would be glade if u were here, have a nice day dude.
CHECKTHIS LINK PLEASE WHICH WILL TAKE YOU TO THIS.

Google is my best friend, that is where I checked your town, by the way, you say you are in the states, though MATE is usually used by Australians, or people that live there, anyway it is merely a comment that is all.
DraC, No worries my friend, let me know if you want something customized in this or any add-on you have.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::

Last edited by ZAcK; 17-03-2005 at 01:03 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump