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

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 21-03-2006, 12:10 AM
AYEHAN's Avatar
AYEHAN AYEHAN est déconnecté
Registered User
 
Join Date: Mar 2006
Location: Houston
Posts: 26
AYEHAN is on a distinguished road
Send a message via ICQ to AYEHAN Send a message via AIM to AYEHAN Send a message via MSN to AYEHAN Send a message via Yahoo to AYEHAN
[Request] On Ban Event

i want to made a Ban event, if me or any other op ban someone it will echo the clone nicks

i tried making it success with Kick even but cant made for BAN event

Code:
Mode: AYEHAN sets mode: +b Alishba!*Alishba@202.143.118.180
Clones : Alishba  `umm`  at #AYEHAN
its a example of Kick event, can any1 make it for bans, Kick one works if i ban nick too, but did'nt work if i ban ip only :/
__________________
I Am LOVE But You Can Call Me AYEHAN
Reply With Quote
  #2  
Old 21-03-2006, 07:16 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,116
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: [Request] On Ban Event

show clones on ban:

Code:
on *:ban:#: { 
  var %tmp $ialchan($banmask,#,0) 
  while (%tmp) {
    set %w $ialchan($banmask,#,%tmp).nick &
    dec %tmp 
  }
  if (%tmp == 0) { echo $chan ::: 14[ 4B1anned:4 $gettok(%w,1-,38) 14] | unset %w }
}


and incase u needed the on join event to show the clones from the same ip:

Code:
on ^*:JOIN:#:{
  haltdef
  var %t = $ialchan($wildsite,#,0)
  if (%t == 1) { echo # ::: 12Join: $nick ( $+ $address $+ ) | haltdef }
  else {
    var %i = 0
    while (%i < %t) {
      inc %i
      var %names = $addtok(%names,$ialchan($wildsite,#,%i).nick,44)
    }
    echo $chan ::: 12Join: $nick ( $+ $address $+ ) 14( $+ %i $+ ) 14[4 $+  %names  $+ 14] | haltdef
  }
}
__________________
Reply With Quote
  #3  
Old 21-03-2006, 09:52 AM
AYEHAN's Avatar
AYEHAN AYEHAN est déconnecté
Registered User
 
Join Date: Mar 2006
Location: Houston
Posts: 26
AYEHAN is on a distinguished road
Send a message via ICQ to AYEHAN Send a message via AIM to AYEHAN Send a message via MSN to AYEHAN Send a message via Yahoo to AYEHAN
Re: [Request] On Ban Event

What if i want to kick Clones On join if 3 clones were already on channel?
__________________
I Am LOVE But You Can Call Me AYEHAN
Reply With Quote
  #4  
Old 21-03-2006, 10:18 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,116
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: [Request] On Ban Event

this is my full clone protection, havent pasted it before, works gr8, uses hash tables, and sets lock modes for the channel
it will kick on the 3`rd clone that joins the channel:


Code:
on @!*:join:#:{
.hinc -mu6 flood $+($site,.,$chan)
if ($hget(flood,$+($site,.,$chan)) > 2) && ($ialchan($wildsite,#,1).nick isreg # && $ialchan($wildsite,#,2).nick isreg #) {
      $iif($hget(+R,mode) == yes,mode # +b $wildsite,mode # +MRb $wildsite)
      kick # $+($ialchan($wildsite,#,1).nick,$chr(44),$ialchan($wil dsite,#,2).nick)  two joins of the same wildsite during the 3 Seconds. 4C14ult™
      $iif($hget(+R,mode) == $null && $timer(#) = $null,.timer $+ # 1 20 mode # -RM)
      .hadd -mu15 +R mode yes
      .hdel -m flood $+($site,.,$chan) 
    }
halt
}
__________________
Reply With Quote
  #5  
Old 21-03-2006, 10:48 AM
AYEHAN's Avatar
AYEHAN AYEHAN est déconnecté
Registered User
 
Join Date: Mar 2006
Location: Houston
Posts: 26
AYEHAN is on a distinguished road
Send a message via ICQ to AYEHAN Send a message via AIM to AYEHAN Send a message via MSN to AYEHAN Send a message via Yahoo to AYEHAN
Re: [Request] On Ban Event

Voila!

almost done with my flood pro with your help

i must ask u too send me all ur add-0ns along with ur complete script

Nice Code'z Bro
__________________
I Am LOVE But You Can Call Me AYEHAN
Reply With Quote
  #6  
Old 21-03-2006, 10:54 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,116
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: [Request] On Ban Event

Quote:
Originally Posted by AYEHAN
Voila!

almost done with my flood pro with your help

i must ask u too send me all ur add-0ns along with ur complete script

Nice Code'z Bro

most welcomed, any other remotes or changes on the remotes and codes on the forum, tell me.
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catania's stadium ban lifted by civil court (Reuters) TheGodFather Sports -Warm up first! 0 04-04-2007 05:00 PM
Inspirational poems and pictures Maryoma Lyrics & Poems Section 548 08-03-2007 04:38 PM
Yahoo Mail Reverses Ban on 'allah' in Usernames Thugilex Technical Forum, Technical Aspects and Information 1 24-02-2006 04:52 PM
Feelings... Mado The Lounge 21 27-09-2005 09:56 AM
Blacklist snippet (Join event, Op event , Nick-change event) anmlhckr mIRC :: SCRIPTING & HELP 5 11-03-2005 01:37 PM

All times are GMT. The time now is 07:35 PM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
All data and information are copyright of DOTLeb Network