| Arcades | Library | Travel | MP3 | Directory | Horoscope | Downloads | Mobile | Movies | Gallery | PHP Group |
| mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks! |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
[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
__________________
I Am LOVE But You Can Call Me AYEHAN |
|
#2
|
||||
|
||||
|
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
}
}
__________________
|
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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
}
__________________
|
|
#5
|
||||
|
||||
|
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 scriptNice Code'z Bro
__________________
I Am LOVE But You Can Call Me AYEHAN |
|
#6
|
||||
|
||||
|
Re: [Request] On Ban Event
Quote:
most welcomed, any other remotes or changes on the remotes and codes on the forum, tell me.
__________________
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |