SpamKing v2.1 (http://scriptdb.ptokax.ath.cx/download.php?view.172), based on SpamKing v1 by gg3k. Stops spamming in mainchat and PM. Majority of this script was rewritten by me.
WARNING!
This script needs to be run on top of all other scripts to work as it should.
Otherwise please do not complain about script when it couldn't stop a flooder.
::: Original Script's Credits :::
Spam King (spam blocker) (for PtokaX 0.3.2.6TD3) by: gg3k
This script stops spammers using automessaging software.
It blocks all traffic that is passed through DataArrival until the user has sent the validation code.
This effectively prevents searchbots from getting any results from the hub too.
::: ChangeLog :::
jiten:
- converted to LUA 5
NightLitch:
- added security code building system
GeceBekcisi:
- Added time interval detecting for user response to warning sent to detect flooding bots (thanks plop for the idea)
* If code is entered in less than specified seconds, user is tempbanned for flooding suspect
- Fixed !regme exploit if any self registration method is on with "regme" command by simply using the same rules above
* Users have to confirm their registration request by entering a code before "regme" command is processed
- Added logging bans with time, nick and IP, and commands to read and delete it
- Added PM block to unregged users, they are unable to send PMs to non-operators if option is enabled
- Added a chat room to see all the messages sent to main chat (except commands, only !regme passes through) without being blocked
* and an option to enable/disable this feature to be able to help stupid users which are unable to pass security
Link updated due to change in script database.
hello , I have a problem with this script; it display the line for unreg user like this : ( I use ptokax 0.340)
Main chat is disabled unless you're a registered user or you've en E3488Y3I82A743gEO tered alphanumeric confirmation code in this message to here.
the code is mixed with text !
thnk's for help
that is intended so that noone can write a bot to get past this one ;)
So, it's impossible to have the code at the end of the message ?
like : the mainchat uis locked, enter this code....> Rfkdsoioiol etc.
thank's a lot
A good bot could be able to detect that code in the end of the message and use it.
Even a better bot can detect the variable code in a constant message, but this is not so important; since SpamKing v2.1 uses a second protection mechanism based on response interval to warning message.
Is it really so important for you to have the code at the end of the message?