anti-ad in description - Page 2
 

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

anti-ad in description

Started by lynyrd, 05 March, 2004, 01:47:58

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NightLitch

QuoteOriginally posted by (uk-kingdom)pH?tt?
QuoteOriginally posted by NightLitch
that goes for almost all of your fine ex's exept nErBoS.

yah true, but i have seen

someone@acertainhub.no-ip.com

this is advertising :p

Are you applying to my Signature or Am I too tired to understand ???

My is to a forum...
//NL

pHaTTy

lmfao to be honest i never noticed ur signature, but i mean hub wise, i have seen that as email address, which is advertising :p
Resistance is futile!

NightLitch

QuoteOriginally posted by (uk-kingdom)pH?tt?
lmfao to be honest i never noticed ur signature, but i mean hub wise, i have seen that as email address, which is advertising :p

lol k, Well nobody can really come into out forum anyway, exept our ppl that live's in our City/State.
//NL

NightLitch

But what about your fine little link to ah.. ahmm forum... ;-)=
//NL

lynyrd

i dont want to be a complete pester..
but is it possible to make it with a timer or something
so it checks users even after they logged in?
they can easily change back once in the hub

if not im more than happy for your work on this
thanks guys =)

pHaTTy

QuoteOriginally posted by NightLitch
QuoteOriginally posted by (uk-kingdom)pH?tt?
lmfao to be honest i never noticed ur signature, but i mean hub wise, i have seen that as email address, which is advertising :p

lol k, Well nobody can really come into out forum anyway, exept our ppl that live's in our City/State.

lmao
Resistance is futile!

pHaTTy

QuoteOriginally posted by NightLitch
But what about your fine little link to ah.. ahmm forum... ;-)=

lmfao
Resistance is futile!

NightLitch

QuoteOriginally posted by (uk-kingdom)pH?tt?
QuoteOriginally posted by NightLitch
But what about your fine little link to ah.. ahmm forum... ;-)=

lmfao

Is that all you can do now, LMFAO...!! hehe to tired bro ?
//NL

NightLitch

I thought we had a word fight here.... well well godnight bro...
//NL

pHaTTy

QuoteOriginally posted by lynyrd
i dont want to be a complete pester..
but is it possible to make it with a timer or something
so it checks users even after they logged in?
they can easily change back once in the hub

if not im more than happy for your work on this
thanks guys =)


hmm

--AntiAdvert in des/email by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

Bot = "BotName";

function NewUserConnected(user) 
	CheckUser(user)
end

function CheckUser(user)
	for i,v in table do 
		if strfind(user.sMyInfoString, i) then 
			user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
			SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
			user:Disconnect()
		end 
	end 
end

function DataArrival(user,data)
	if strsub(data,1,7) == "$MyInfo" then
		CheckUser(user)
	end
end

:p
Resistance is futile!

pHaTTy

QuoteOriginally posted by NightLitch
I thought we had a word fight here.... well well godnight bro...

lmao nah im to happy atm :p

gnight sleep well ;)
Resistance is futile!

pHaTTy

QuoteOriginally posted by (uk-kingdom)pH?tt?
QuoteOriginally posted by lynyrd
i dont want to be a complete pester..
but is it possible to make it with a timer or something
so it checks users even after they logged in?
they can easily change back once in the hub

if not im more than happy for your work on this
thanks guys =)


hmm

--AntiAdvert in des/email by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

Bot = "BotName";

function NewUserConnected(user) 
	CheckUser(user)
end

function CheckUser(user)
	for i,v in table do 
		if strfind(user.sMyInfoString, i) then 
			user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
			SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
			user:Disconnect()
		end 
	end 
end

function DataArrival(user,data)
	if strsub(data,1,7) == "$MyInfo" then
		CheckUser(user)
	end
end

:p

it working???
Resistance is futile!

lynyrd

nothing happens when i change to xxx in description after i logged in

would it work with a timer that checks every 10 minutes?

im off playing with noob timers now ;)

pHaTTy

QuoteOriginally posted by lynyrd
nothing happens when i change to xxx in description after i logged in

would it work with a timer that checks every 10 minutes?

im off playing with noob timers now ;)

hummm,w8 1 maybe i made mistake :p
Resistance is futile!

pHaTTy

sorry in DataArrival change it to this line

if strsub(data, 1, 7) == "$MyINFO" then


humm w8 i do it ;)


--AntiAdvert in des/email by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

Bot = "BotName";

function NewUserConnected(user) 
	CheckUser(user)
end

function CheckUser(user)
	for i,v in table do 
		if strfind(user.sMyInfoString, i) then 
			user:SendData(Bot,"You have "..v.." in description/email, please 

remove "..i.." and reconnect")
			SendToOps(Bot,user.sName.." has been kicked because of "..v.." in 

MyInfo string")
			user:Disconnect()
		end 
	end 
end

function DataArrival(user,data)
	if strsub(data, 1, 7) == "$MyINFO" then
		CheckUser(user)
	end
end
Resistance is futile!

pHaTTy

lmao what on earth was i trying to do muhahah lol

--AntiAdvert in des/email v1.03 by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

function Main()
	Bot = "BotName";
	frmHub:EnableFullData(1)
end

function DataArrival(user,data)
	if strsub(data,1,7) == "$MyINFO" then
		for i,v in table do 
			if strfind(data,i) then
				user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
				SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
				user:Disconnect()
			end
		end
	end
end

enjoy ;)
Resistance is futile!

lynyrd

looks good phatty but still not working
could'nt help my self fiddle with timer function ;)

but got this..
Syntax Error: bad argument #1 to `strsub' (string expected, got nil)
what's that? why? humm?
code:
----------------------------------------------------------------------------------------------------------
--AntiAdvert in des/email v1.03 by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

function Main()
   Bot = "BotName";
   frmHub:EnableFullData(1)
               SetTimer(1*30000)
               StartTimer()
end


function DataArrival(user,data)
   if strsub(data,1,7) == "$MyINFO" then
      for i,v in table do
         if strfind(data,i) then
            user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
            SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
            user:Disconnect()
         end
      end
   end
end

function OnTimer(user,data)
                    if strsub(data,1,7) == "$MyINFO" then <----problem here
                         for i,v in table do
      if strfind(data,i) then
         user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
         SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
         user:Disconnect()
      end
              end
end
end
------------------------------------------------------------------------------------------------------------------
best regards from the lua bug lynyrd ;)

NightLitch

QuoteOriginally posted by lynyrd
looks good phatty but still not working
could'nt help my self fiddle with timer function ;)

but got this..
Syntax Error: bad argument #1 to `strsub' (string expected, got nil)
what's that? why? humm?
code:
----------------------------------------------------------------------------------------------------------
--AntiAdvert in des/email v1.03 by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

function Main()
   Bot = "BotName";
   frmHub:EnableFullData(1)
               SetTimer(1*30000)
               StartTimer()
end


function DataArrival(user,data)
   if strsub(data,1,7) == "$MyINFO" then
      for i,v in table do
         if strfind(data,i) then
            user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
            SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
            user:Disconnect()
         end
      end
   end
end

function OnTimer(user,data)
                    if strsub(data,1,7) == "$MyINFO" then <----problem here
                         for i,v in table do
      if strfind(data,i) then
         user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
         SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
         user:Disconnect()
      end
              end
end
end
------------------------------------------------------------------------------------------------------------------
best regards from the lua bug lynyrd ;)

Well every line in Timer will not work... you can't call $MYINFO in Timer and you can't do user there either...
//NL

lynyrd

awh! ok thanks NL
that would been smooth if it would work thou..
i'll go back to try some other things then =)

pHaTTy

QuoteOriginally posted by (uk-kingdom)pH?tt?
lmao what on earth was i trying to do muhahah lol

--AntiAdvert in des/email v1.03 by Phatty

table = {

["dns2go"]="Advertising",
["myftpsite"]="Advertising",
["xxx"]="XXX",
["porn"]="Porn",

}

function Main()
	Bot = "BotName";
	frmHub:EnableFullData(1)
end

function DataArrival(user,data)
	if strsub(data,1,7) == "$MyINFO" then
		for i,v in table do 
			if strfind(data,i) then
				user:SendData(Bot,"You have "..v.." in description/email, please remove "..i.." and reconnect")
				SendToOps(Bot,user.sName.." has been kicked because of "..v.." in MyInfo string")
				user:Disconnect()
			end
		end
	end
end

enjoy ;)

i have tested this several times, and this does work....

if not then u have another scripting blocking myinfo being sent to scripts
Resistance is futile!

lynyrd

yup you're right it was HubSecure v1.0 that was the cause for that..
thanks for the hint Phatty nice job =)

pHaTTy

QuoteOriginally posted by lynyrd
yup you're right it was HubSecure v1.0 that was the cause for that..
thanks for the hint Phatty nice job =)

yah np ;)
Resistance is futile!

(=CyberPimp=)

would it be better to put like:
data = strlower(data)
         data = gsub(gsub(gsub(data, "-", ""), " ", ""), " ", "")

or something like it in it.

SMF spam blocked by CleanTalk