mIRC Home    About    Download    Register    News    Help

Print Thread
#164169 08/11/06 03:43 PM
Joined: May 2005
Posts: 74
D
Dracoz Offline OP
Babel fish
OP Offline
Babel fish
D
Joined: May 2005
Posts: 74
Hi there
This ban-back script does not really work :S
It does not kick's the person back only unban myself
Code:
on @*:ban:#:{
  if ($bnick == $me) {
    /msg chanserv unban $banmask $chan
    kick $chan $nick Don't ban me, $nick  !
  }
}


Does anyone of you can make this 1 better ?
And also can make a kick-back script ?

Ty
Dracoz

#164170 08/11/06 04:42 PM
Joined: Jul 2006
Posts: 242
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
Its probaly becuase most bans are on the mask and your condition is only if the ban nick matches yours. try maybe this
Code:
 ON @*:BAN:#: {
  if ($banmask iswm $address($me,5)) || ($bnick == $me) {
    mode $chan -ob $nick $banmask
    ban -k # $nick Dont ban me
  }
}
 


Newbie
#164171 08/11/06 06:34 PM
Joined: May 2005
Posts: 74
D
Dracoz Offline OP
Babel fish
OP Offline
Babel fish
D
Joined: May 2005
Posts: 74
Does not work either...

#164172 08/11/06 06:52 PM
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
on !@*:BAN:#:{
if ($banmask iswm $address($me,5)) {
mode $chan -b+b $banmask $wildsite
kick $chan $nick msg
}
}

#164173 08/11/06 07:48 PM
Joined: Jul 2006
Posts: 242
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
i tested it worked fine. of course you have to be opped for it to work. The first action of -o is incase the nick has a kick timer on you


Newbie

Link Copied to Clipboard