mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2003
Posts: 9
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
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..

Joined: Mar 2003
Posts: 9
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
ok.......

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

Joined: Dec 2002
Posts: 18
P
Pikka bird
Offline
Pikka bird
P
Joined: Dec 2002
Posts: 18
remotes

Joined: Mar 2003
Posts: 9
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
Thanks. I have a popup script now that will do it. These spammers are driving me nuts.


Link Copied to Clipboard