mIRC Home    About    Download    Register    News    Help

Print Thread
#163350 29/10/06 03:08 AM
Joined: Dec 2005
Posts: 22
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2005
Posts: 22
Hello i own a big channel and there are these little kids who are jealous because we dont give them operator status. They flood the channel with ddos modes and i have to manually +m the channel but sometimes we are afk and it totally floods the channel. There is no point in banning them because they are proxies and they keep re-joining. Is there anyway i can have a remote script to detect a mass join and simply +m the channel? Any help appreciated.

#163351 29/10/06 03:33 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Code:
on @*:join:#channel-name: {
  inc %join 1
  if (%join == NUMBER) { mode # +m | unset %join }
}


Replace #channel-name with the channel name and NUMBER with the number of people you want it to trigger on


Those who fail history are doomed to repeat it
#163352 29/10/06 08:45 AM
Joined: May 2006
Posts: 122
J
Vogon poet
Offline
Vogon poet
J
Joined: May 2006
Posts: 122
Here is a script that I wrote quickly and havn't tested.
It sets the channel limit 5 above the actual people in the channel until the limit is reached then it updates the limit.
If the limit is reached 3 times in the space of 1 minute it will lock the channel down for 5 minutes.
Feel feel to play around with the numbers to suit your own needs.
Code:
on @*:join:#channel:{
  if (($nick(#,0) == $chan(#).limit) || (!$chan(#).limit)) {
    if (%floodcheck == 2) {
      mode # +im
      .timer.unlock 1 300 mode # -im
    }
    else {
      mode # +l $calc($nick(#,0) + 5)
      inc -u60 %floodcheck 1
    }
  }
}
on @*:part:#channel:if ($nick(#,0) < $calc($chan(#).limit - 5)) mode # +l $calc($nick(#,0) + 5)

Last edited by jizzy; 29/10/06 09:01 AM.

If only women came with popup menus and online help.
#163353 29/10/06 07:21 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
boy, looking back on this post, I find it sucked (my own). Next time, I should really think things thru a bit more lol. Ah well, was worth the shot :P


Those who fail history are doomed to repeat it

Link Copied to Clipboard