Flood
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Flood

Started by Baad-Boi, 31 July, 2005, 13:01:02

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Baad-Boi

hey

i need a script that stops flooding all kind of floodings

im using

PtokaX 0.3.31

and using ']['?RM???']['?R The All-In-One bot

but in gettin flooded...........

can u plzz help mee

Pothead

Tweak the settings in Deflood page of PtokaX.

Baad-Boi

Thanxx m8


any thing else i can put 4 more secuirty :p

GeceBekcisi

You can use this script, it'll block chat until the numeric code it entered..
-- 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. 

-- converted to LUA 5 by jiten
-- Touched some more by GeceBekcisi

--// Settings //--
sBot = frmHub:GetHubBotName()		-- Name of the bot.
TestReggedUsers = 0			-- Set to 1 if you want to require validation from registered users. 
TestOperators = 0 			-- Set to 1 if you want to require validation from operators. 
NoChatUsers = { } 

--// This function is fired when a new data arrives //--
function ChatArrival(curUser, sData) 
	sData = string.sub(sData, 1, string.len(sData)-1) 
		if curUser.iProfile == -1 or TestReggedUsers == 1 then 
			if NoChatUsers[curUser.sName] ~= nil then 
				if NoChatUsers[curUser.sName] == 1 then 
					NoChatUsers[curUser.sName] = math.random(1000, 9999) 
					SendToNick(curUser.sName, "<"..sBot.."> Main chat is disabled for unregistered users.  - To enable full hub functionality, please register or enter these numbers here: "..NoChatUsers[curUser.sName].." ")
					return 1 
				else 
					_,_,keystring = string.find(sData, "%b<>%s+(%S+)") 
					if tostring(keystring) == tostring(NoChatUsers[curUser.sName]) then 
						NoChatUsers[curUser.sName] = nil 
						SendToNick(curUser.sName, "<"..sBot.."> Main chat is enabled now. Have fun!") 
					else 
						SendToNick(curUser.sName, "<"..sBot.."> Main chat is disabled for unregistered users.  - To enable full hub functionality, please register or enter these numbers here: "..NoChatUsers[curUser.sName].." ")
					return 1
					end 
				return 1 
				end 
			end 
		end 
	end 

--// This function is fired when a new user finishes the login //--
function NewUserConnected(curUser) 
	NoChatUsers[curUser.sName] = 1 
end 

--// This function is fired when an operator enters the hub //--
function OpConnected(curUser) 
	if TestOperators == 1 then 
		NoChatUsers[curUser.sName] = 1 
	end 
end 

--// This function is fired when an user disconnects //--
function UserDisconnected(curUser) 
	NoChatUsers[curUser.sName] = nil 
end 

--// This function is fired when an operator disconnects //--
function OpDisconnected(curUser) 
	NoChatUsers[curUser.sName] = nil 
end
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

SMF spam blocked by CleanTalk