EpicNet.Ru - Форум IRC Чата

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » EpicNet.Ru - Форум IRC Чата » HELP SCRIPTS - Помощь по mIRC скриптам » Join/Part/Quit flood detected! Help me please


Join/Part/Quit flood detected! Help me please

Сообщений 1 страница 2 из 2

1

Please help me write the script to prevent join/part/quit flood as follows:

1) JOIN/PART flood:
- If there are 1 nick join myroom then do: join/part fast 3 times then BOT set mode +mR room and banned/kicked that nick for 1 hour.

- If there are 3 nicks or more (> 3 nicks) join/part "at the same time (at once)" within under 60 seconds, then BOT set mode +mRb all ips of that nicks and kick all them out for 1 hour.

2) JOIN/QUIT flood:
- If there are 1 nick join myroom then do: join/quit fast 3 times in 60 seconds then BOT set mode +mR and banned/kick that nick for 1 hour.
- If there are 3 nicks or more (>3 nicks) joins/quits at the same time(at once) under 60 seconds, then BOT set mode +mRb all ips of that nicks and kicked/banned for 1 hour.

I would like to thank and look forward to receiving the code from the forum soon. Thanks all so much!

2

For example:

1) JOIN/PART flood:
a. If one Nickname join and part 3 times within 60 seconds, then BOT set mode: +mR and banned Ips:

[01:02:03] * Nick1 (Nick1@IP/HOST) joins #myroom
[01:02:04] * Nick1 (Nick1@IP/HOST) parts #myroom

[01:02:05] * Nick1 (Nick1@IP/HOST) joins #myroom
[01:02:06] * Nick1 (Nick1@IP/HOST) parts #myroom

[01:02:07] * Nick1 (Nick1@IP/HOST) joins #myroom
[01:02:08] * Nick1 (Nick1@IP/HOST) parts #myroom

3 times join/part fast, then BOT now set mode +mR and banned IP/HOST of Nick1:
[01:0:09] * BOT sets mode: +mRb *!*@IP/HOST

Then 30 seconds later, BOT sets mode: -mR and after 1 hour then -b *!*@IP/HOST

b. If 3 Nicks or more (> 3 Nicks) joins and parts at the same time (at once), then BOT set mode: +mR and banned 3 IP/HOST of 3 Nicks:

[02:03:04] * Nick1 (Nick1@IP1/HOST1) joins #myroom
[02:03:04] * Nick2 (Nick2@IP2/HOST2) joins #myroom
[02:03:04] * Nick3 (Nick3@IP3/HOST3) joins #myroom

[02:03:09] * Nick1 (Nick1@IP1/HOST1) parts #myroom
[02:03:09] * Nick2 (Nick2@IP2/HOST2) parts #myroom
[02:03:09] * Nick3 (Nick3@IP3/HOST3) parts #myroom

Now BOT sets mode: +mR and banned 3 IP/HOST of 3 Nicks for an hour then auto unban.
Auto sets -mR after 30 seconds

2) JOIN/QUIT flood: similar JOIN/PART flood above.

Thanks and hope receive code soon !
Best regard

Быстрый ответ

Напишите ваше сообщение и нажмите «Отправить»



Вы здесь » EpicNet.Ru - Форум IRC Чата » HELP SCRIPTS - Помощь по mIRC скриптам » Join/Part/Quit flood detected! Help me please