mIRC Home    About    Download    Register    News    Help

Print Thread
#66853 06/01/04 09:37 PM
Joined: Dec 2002
Posts: 27
J
Jon Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 27
in the room if some moderator make a mistake by BAN chatter domain
how do i make a script for auto unban that domain, but it will halt on regular IP BAN .

Thanks in advand

#66854 06/01/04 09:39 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
on @*:BAN:#channelname: [
if (*.someisp.com iswm $banmask) .mode $chan -b $banmask
}


If it ain't broken, don't fix it!
#66855 07/01/04 03:33 AM
Joined: Dec 2002
Posts: 27
J
Jon Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 27
to Doqnach
thanks for help me out

but in this script, that i had to enter all the domain in to it, is that any way, have some command that represent for all the domain, i been try like $address($bnick,4) but don't work .


#66856 08/01/04 01:27 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
Code:
on @*:BAN:#channelname: {
  if ((*.com iswm $banmask) || (*.co iswm $banmask) || (*.net iswm $banmask) || (*.org iswm $banmask)) { 
    .mode $chan -b $banmask
  }
}


--------
mIRC - fun for all the family (except grandma and grandpa)
#66857 09/01/04 10:29 AM
Joined: Sep 2003
Posts: 156
B
Vogon poet
Offline
Vogon poet
B
Joined: Sep 2003
Posts: 156
or;
Code:
on @*:BAN:#channelname: {  
var %t = co com org net uk,%e = 1
while $gettok(%t,%e,32) {
if ($+(*,.,$ifmatch,*) iswm $banmask) mode # -b $banmask
inc %i
}
}



Link Copied to Clipboard