mIRC Home    About    Download    Register    News    Help

Print Thread
M
Mike_Healan
Mike_Healan
M
outwar.com is running some blasted contest and people have been jumping in spamming it endlessly on my network. I am opped in several channels and I'd like a way to ban that person's hostmask in every channel in which I'm opped all at once. So if I catch him in one channel, the script bans his mask in every other channel so he can only spam one of them.

Here is what I'm using now. It only works in one channel at the time though.
on *:TEXT:*www.outwar.com/page.php?x=*:#:{
if $nick isop # goto end
if $me isop # goto opped
splay ooh.wav
cs ban # $nick Frickin spammer
echo $active $nick has been banned in $chan for outwar spamming
goto end
: opped
kb $nick Frickin spammer
splay ooh.wav
echo $active $nick has been banned in $chan for outwar spamming
goto end
:end
}

Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
yuo need a small alias and a loop
Code:
  
alias blah {
  var %i = $chan(0)
  while (%i > 0) {
    if ($me isop $chan(%i)) {
      mode $chan(%i) $1-
    }
    dec %i
  }
}


then just type /blah +b nickname you can get creative and set popups to bantypes etc..

M
Mike_Healan
Mike_Healan
M
ok.......

I put that in remotes or aliases? or .. ? confused

P
pod2oo5
pod2oo5
P
remotes

M
Mike_Healan
Mike_Healan
M
Thanks. I have a popup script now that will do it. These spammers are driving me nuts.


Link Copied to Clipboard