mIRC Home    About    Download    Register    News    Help

Print Thread
How to autoban someone in every channel? #17207 28/03/03 01:08 PM
Joined: Mar 2003
Posts: 9
M
Mike_Healan Offline OP
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
}

Re: How to autoban someone in every channel? #17208 28/03/03 01:43 PM
Joined: Dec 2002
Posts: 332
C
Cheech Offline
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..

Re: How to autoban someone in every channel? #17209 28/03/03 02:11 PM
Joined: Mar 2003
Posts: 9
M
Mike_Healan Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
ok.......

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

Re: How to autoban someone in every channel? #17210 28/03/03 02:15 PM
Joined: Dec 2002
Posts: 18
P
pod2oo5 Offline
Pikka bird
Offline
Pikka bird
P
Joined: Dec 2002
Posts: 18
remotes

Re: How to autoban someone in every channel? #17211 28/03/03 03:04 PM
Joined: Mar 2003
Posts: 9
M
Mike_Healan Offline OP
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.