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

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 24-02-2005, 04:31 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,121
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
Exclamation mass notice prot.

on @*:NOTICE:*:#:{
if ($nick !isreg $chan) { return }
ban $chan $nick 2
kick # $nick Mass Notices Are Not Allowed In $chan
}
__________________

Last edited by Cult; 08-09-2005 at 02:02 PM.
Reply With Quote
  #2  
Old 06-03-2005, 05:47 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
Wink Re: mass notice prot.

Code:
on @*:NOTICE:*:#:{
  if ($nick isreg $chan) { 
    ban $chan $nick 2 
    kick # $nick Mass Notices Are Not Allowed In $chan 
  }
}
Istead of getting the script to halt if $nick not a reg and if $nick is a reg it will take action, better yet get it to take action ONLY if $nick is a reg, this way is faster and the codes would be cleaner.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::

Last edited by ZAcK; 06-03-2005 at 06:28 PM. Reason: [CODE][/CODE]
Reply With Quote
  #3  
Old 08-03-2005, 04:40 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: mass notice prot.

I have 2 comments first which is : You must exempt the Chanserv from being kicked, so add a user level or make an event, second you can use implace of ban $chan $nick 2 , kick # $nick Reason use , ban -k # $nick reason.
Reply With Quote
  #4  
Old 09-03-2005, 03:40 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: mass notice prot.

Code:
on @*:NOTICE:*:#:{
  if ($nick isreg $chan) {
  ; When some1 invites some1 to the channel,
  ; the Chanserv will send a notice to the ops
  ; still the chanserv will NOT be in the channel so he will not be banned,
  ; how would he be a regular if he isnt in the channel in the 1st place?!
  ; no need to check if $nick is Chanserv in this case, anmlhckr

    ban -k $chan 2 $nick Mass Notices Are Not Allowed In $chan
    ; 2 is the ban type
    ; and u can use a temp ban if u like
    ; ban -kn4 $chan 2 $nick Mass Notices Are Not Allowed In $chan
    ; it will remove the ban in 4 sec, you can change it to what ever you want
    ; the string here is :
    ; ban -knN $chan [bantype] $nick [reason]
    ; where N are the secs that mIRC will pause before removing the ban.
  }
}
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::

Last edited by ZAcK; 09-03-2005 at 07:02 AM.
Reply With Quote
  #5  
Old 09-03-2005, 10:22 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: mass notice prot.

Zack, you are really sick bro, if the chanserv notice the channel with everything, you are right the user wouldnt be able to kick the chanserv, but he would be able to ban the services mask such ask : *!*@Dal.net, fix that thing out and try what am telling you.
Reply With Quote
  #6  
Old 09-03-2005, 07:39 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,121
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: mass notice prot.

anmlhkr said: You must exempt the Chanserv from being kicked <= first of all!!! the existance of CHANSERV in a channel means it`s going to be mkicked.*IF HE JOINED*
__________________
Reply With Quote
  #7  
Old 10-03-2005, 01:52 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: mass notice prot.

LOL! man join #helpdesk (or #scripting if you like) and paste this to them
Code:
if ($nick isreg $chan)
and then ask them if you need to exempt for the services! I did by the way and...
PHP Code:
[22:17] <whatsoever> hi wanted to ask
[22:17] <whatsoever> if i used : ($nick isreg $chan) do i still need to use : ($nick isin $chan) and/or exempt the chanserv?
[
22:17] <whatsoever> or the 1st part wd be enough ?!
[
22:17] <@HaNtU]uU[> whatsoever, think.. if the user is not on the channel, how can he be a regular?
[
22:17] <+E1337> its enough
[22:18] <whatsoever> HaNtU]uU[; thought so :)
[
22:18] <whatsoever> just checking :)
Now explain to me! if the ChanServ isn't in the channel! how would it be banned! the script will NOT take action in the first place cause the ChanServ isnt in the channel in the 1st place!!
CASE CLOSED.


And YAHOOOOO I AM SICK GUYS! That is a compliment coming from someone that flamed everyone here.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #8  
Old 10-03-2005, 11:55 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: mass notice prot.

Well, if you want zack i could use your snippet that u past here, in an empty mIRC.exe, and try it, its just gonna ban the mask : *!*@dal.net, i tried it out and for Cult i know whats the aim of the chanserv when joinin the channel, read WELL i said if the CHANSERV noticed the CHANNEL with an INVITATION.
Reply With Quote
  #9  
Old 10-03-2005, 12:15 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: mass notice prot.

And zack i do not need to join them i am @'d in #Helpdesk and i know what i am saying bro
Reply With Quote
  #10  
Old 10-03-2005, 04:22 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,121
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: mass notice prot.

anmlhckr said: You must exempt the Chanserv from being kicked <<== anddd whats that?
__________________
Reply With Quote
  #11  
Old 10-03-2005, 06:32 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: mass notice prot.

I said being banned such as : * user1 +b on : *!*@Dal.net .
Reply With Quote
  #12  
Old 10-03-2005, 06:41 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: mass notice prot.

I said being banned such as : * user1 +b on : *!*@Dal.net .
Reply With Quote
  #13  
Old 11-03-2005, 01:40 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: mass notice prot.

LoooL! I'll settle for your DALnet nick! I want to see you actually oped there! I am sorry to say, usually ops in such channels are more helpful, have less attitude, and know more about HASH tables if you know what I mean!

PS: -NickServ- The nickname anmlhckr is not registered.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #14  
Old 11-03-2005, 01:41 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: mass notice prot.

Never mind my last post, I lost my interest.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #15  
Old 11-03-2005, 01:42 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: mass notice prot.

You think that i use This nickname ... Dude i gotta lot of nicks, anmlcrck ,
And i dont know if this still ... anmlcrkr , anmlhckr , i just enter once per month .. so when am there ill show ya (: ask all the OPS there ..
Reply With Quote
  #16  
Old 12-03-2005, 02:49 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,121
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: mass notice prot.

2eee.. other than fights? can we post another thing that can help ppl? maybe swear prot :P since swearing isn`t allowed here and on miRc?
__________________
Reply With Quote
  #17  
Old 12-03-2005, 05:40 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: mass notice prot.

Cult : on *:text:*word*:#:{ ban -k # $nick } Hehehe :P thats freak i know what u mean cult u mean a good and based on dialog one :P
Reply With Quote
  #18  
Old 12-03-2005, 07:09 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,121
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: mass notice prot.

anmlhckr yes bro thats it. it`s too easy to do i know that u can do it.. it`s just that i have no time n e more :S
__________________
Reply With Quote
  #19  
Old 12-03-2005, 08:44 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: mass notice prot.

Who have time for IRC any more ... no one
Reply With Quote
  #20  
Old 14-03-2005, 07:38 AM
DraC's Avatar
DraC DraC est déconnecté
The SeXiesT Sop
 
Join Date: Jan 2005
Location: U.A.E
Posts: 105
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: mass notice prot.

anmlhckr <<< ive been on mirc since 96 n i know all ops that joins #Helpdesk ... ive seen nick Zack nd ive seen nick Big^^Evil also ... but urs sorry i didnt ...

If u dont mind tell me wht other nicks u used to use even if they r not registered now nd dropped.
__________________
The Most Seductive Evil of all Time !!!
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