PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Masta_Kein on 29 February, 2004, 22:18:20

Title: Anti_pub
Post by: Masta_Kein on 29 February, 2004, 22:18:20
hi
i need some help becoz i have an anti pub but it allows the pub like this n o . i p. c o m
Can u guys do something that doesent allow that
becoz im always having problems for that
Can u help me??
Title:
Post by: nErBoS on 29 February, 2004, 23:37:48
Hi,

You may put on the table of your anti-pub this...
"n o . i p. c o m" it will catch.

Best regards, nErBoS
Title:
Post by: Masta_Kein on 01 March, 2004, 12:04:51
Yes i know but i did that but it gives an error
Title:
Post by: Masta_Kein on 01 March, 2004, 12:08:16
Your from Portugal im portuguese from Mozambique
this is the hub mzserver.no-ip.com
Try it out its the best of mozambique
oh and please help me whit that anti pub thing plz
Title:
Post by: nErBoS on 01 March, 2004, 14:43:32
Hi,

Post where your anti-pub and i will see what i can do
!!

Best regards, nErBoS
Title:
Post by: Masta_Kein on 01 March, 2004, 17:42:25
botname = "Kanimambo"
trigs = {["dns2go"]=1,["myftpsite"]=2,["servebeer"]=3,["mine.nu"]=4,["ip.com"]=5,["dynip"]=6,["staticip"]=7,["serveftp"]=8,["ipactive"]=9,["ip.org"]=10,["no-ip"]=11,["servegame"]=12,["ath.cx"]=13,["dyndns"]=14,["68.67.18.75"]=15,["clanpimp"]=16,["idlegames"]=17,["sytes"]=18,["24.184.64.48"]=19,["uni.cc"]=20,["151.198.149.60"]=21,["homeunix"]=22,["24.209.232.97"]=23,["deftonzs.com"]=24,["24.187.50.121"]=25,["flamenap"]=26,["xs4all"]=27,["no-ip"]=28,["serveftp"]=29,["myftp"]=30,["d2g"]=31,["151.198.149.60"]=32,["24.184.64.48"]=33,["orgdns"]=34,["maputo"]=35,["hubmoz"]=37,["mozshit"]=38,["mzfree"]=39,["mozville"]=40,["underground"]=41,["mzafrica"]=42,["rockcity"]=43,["mozambo"]=44,["hgmz"]=45,["mzhub"]=46,["rocafella"]=47,["dablisscorner"]=48,["rockcity"]=49,["n o - i p . c o m"]=50}

function DataArrival(user, data)
if (not user.bOperator) then
if (( strsub(data, 1, 1) == "<" ) or ( strsub(data, 1, 4) == "$To:" )) then
for key,a in trigs do
if( strfind( strlower(data), key) ) then
SendToAll( botname, user.sName.." foi kikado por ter feito publicidade." )
user:Disconnect()
end
end
end
end
end

There ya go but some things are in portuguese i changed it
Title:
Post by: nErBoS on 01 March, 2004, 19:44:53
Hi,

%s+     --This means one espace, the same as this " "

so instead of putting this...
"n o - i p . c o m"

put this...
"n%s+o%s+-%s+i%s+p%s+.%s+c%s+o%s+m"

You will see that will work.

Best regards, nErBoS
Title:
Post by: Masta_Kein on 02 March, 2004, 18:58:39
Thank you very much
i will test it
Thanks allot m8!!!
Title:
Post by: Masta_Kein on 04 March, 2004, 21:59:33
hi again!!
ehehe
look the thing u said worked but now i need something
to catch like this:
                           .
                           n
                           o
                           -
                           i
                          p
                           .
                           c
                          o
                          m
Title:
Post by: nErBoS on 04 March, 2004, 22:24:15
Hi,

We can stay here making new detection but that pubbers will always find a way throw, if a your hub is a good hub the pub will not have any affect, only unhappy users go to that hubs. This is my opinion.

For that case i belive a good Anti-Spam will do the work, try to make a search on the forum and you will find.

Best regards, nErBoS
Title:
Post by: plop on 07 March, 2004, 17:47:48
sneaky anti adver captures url's with spaces.
1 day i should add detection for urls spreaded over multiple lines.

plop