Advertising Shield
Version: 11
By: NightLitch
Date: 2004-03-23
Download! (http://swenorth.myftp.org/network/nightlitch/scripts/adver-shield.rar)
Last updated: 06/01/2004
BETA Test Advertising: RipOff from Thor:
Download! (http://swenorth.myftp.org/network/nightlitch/scripts/Advertising.rar)
Hi there:
Sorry for this question , it could probably be "dumb" ...but here goes anyway:
Does this script blocks also with spaces or characters between "letters on ban name" ?
Like for example:
n o - i p . c o m
n#o#-#i#p#.#c#o#m
Creating a "new trigger" would be awesome. :D
--example:
between = {
"#",
"!",
"+",
}
Hope i "got it right"... :rolleyes:
Thanks in advance for all you're amazing scripts. :]
I already have that function in my new version, so Am gonna do an update soon.
First Post updated!
Thanks NightLitch !!!!
Im going to test it right away... :D
*****edited*****
Something is wrong , the script is warning about "myhub.myftp.org"...
and not warning with "no-ip".
Sorry NightLitch
hi Nightlitch how r u? just wanna say u should add * cuz some people add that!!
thanks
:D
First post updated!
Hi NighLitch :
I must say i was so "overwellmed" with this script that i started using NXS-3 :D
Thanks for this impressive scripts , very much !!!
I have something to add to this one (sorry)...but somethings wrong with it.
EVERYTHINGS WORKING FINE , besides: no-ip and kicks-ass .
It must be something related to the "-" character ,
because it's the only one's that doesn't work right.
Thanks again. :P
Yeah I know, have tired figuring this one out, but no luck yet... thinking of splitting it up like this:
Table = {
["no"]="ip",
["kick"]="ass",
but will see what I can acomplish.
/NL
I'd appreciate it very much , THANKS. :]
Can i make a request for this script ?
I thought about a "crazy ideia" , but it should be fun.
My ideia is to create a BLACK LIST , with "top pubbers info".
Since this script warns OPs about who's making the pub and the pub itself...
(would be great to have also the pubbers IP)... it could save this information into a file.
The ideia is to "implement" this script across several hubs , creating several "pub.txt".
It should be needed "human intervention" only to collect all TXTs
and place them in a BLACK hublist. Of course , wi'll never add the real link to the "black hubs". :D
Example of pub.txt files:
User=nick | UserIP=ip | Hubname=pub | N? of warns/kicks |
-- Note: Hubname is without domain name (no-ip.com)
If this is a very crazy ideia , i'm sorry , and i ask forum moderators
to remove this post , to a "more appropriate" place on the forum.
I'd appreciate very much all your thoughts about this ideia ,
since pubbers are , almost everytime , "small/recent hubs".
:rolleyes:
Hey all,
using this script and amazing... except one thing: no1 can type the addy of the HUB radio... http://xxxx.myip.hu:8000/listen.pls, because "myip.hu" is forbidden... i tried to add this one to okay sites, and the okay hubs dont work either... (maybe i was wrong, im not a lua guru) - can you help?
and im afraid it bans ops as well...
hi there.
this script really works well, except for this kind of advertisement:
- n.o.-.i.p (with one dot in between all the trigger)
- n.o-ip (just one dot)
is it possible to block this? haven't found any script censoring the last kind of pub.
peace.
Gonna give out a new version soon... so be patience, I work on NXS-4 Gui so not much time.. but will see what I can do...
/NightLitch
Can be added to this script to add new forbidden words to this from the main chat, would be very cool 8)
nice script :)
it blocks anything.. good..
but it Ban MASTER and OP's also!!
:)
Added forbidden words to the
-- Change characters.
CharCh = {
["%(dot%)"]=".",
["dot"]=".",
like
-- Change characters.
CharCh = {
["%(bitch%)"]="woman",
["bitch"]="woman",
but doesn't change it.
what is the mistake?
pls help
:(
THX TMaster
having trouble with the script
my prob is if some1 say: semi network than it warns because of mine :)
New version out, try it...
Fixes:
Operators are not checked
Fixed ok Hubs/Entrys
/NightLitch
Are you sure? It seems just the same as I dloaded a week ago.
hi again.
i've tried the updated anti-advertiser but it still doesn't censor the kind of pub i mentioned before:
- n.o.-.i.p (with one dot in between all the Adver)
- n.o-ip (just only one dot somewhere in the Adver)
peace.
if i set "myip" as "denied" it blocks posting my ovn hubaddy even if i add it as OK hub. What2do? Cause myip.hu is a good DNS server and many hubs use that in hungary...
When adding like myip.hu do it like this:
put: myip in Adv Table and hu in Ext Table
jiten:
I have not come up with a good way splitting the advers that have a - in it... sorry but the dots is taken away, if they are not then add:
["."] = "",
in the CharChange table.
Ok, saw I had missed to change the right file in the link, lmao.
Have fixed everyting now...
all your request's should be granted now I hope...
try the link again...
/NL
when i add this
["."] = "",
in the CharChange table, the advertising shield stops working.
in fact, ppl keep advertising like this in my hub:
- h.ubmoz
- h.u.b.m.o.z
- h........ubmoz
so, the no-ip thing i showed, it was just an example.
all i need is to censor everything before the no-ip.com/org/info, etc... with that pattern.
it kicked one of my my VIPs for this:
Quoteakkor sem lenne semmi,nem vagy egyed?l:)
?( ?( ?(
I tested this out with a diiferent username in my hub and when i change the value to 3 it only disconnects me instead of banning me, this is what i've got
-- Set Botname
BotName = "[UV]Shield"
-- Set action for advertising ( 0=Warn / 1=Disconnect / 2=Kick / 3=Ban)
Action = 3
can anybody help
QuoteOriginally posted by someone
I tested this out with a diiferent username in my hub and when i change the value to 3 it only disconnects me instead of banning me, this is what i've got
No problem here.
But I belive that the bot have some other problems.
it triggers to easy on allowed adresses. As this for example:
//www.aftonbladet.se
In that case i got kicked. Strange... It shuld be allowed to write this if I have "www." before the real adress. But in this case it's not. it triggers on the se part anyway. That sux! Take a lock at it NightLitch.
/Dyzan
BETA test Advertising Bot Ripped from my Thor Bot.
second download...
GUI is buggy, dont use it ppl! Btw good job, NL, works amazing!
Nice! New version! I will give it a try.
/Dyzan
Blocks certain messages, which it shouldnt. If i remove the charreplace line, it does not work @ all. Help!
post some regular lines here that I can test my bot against....
Thor have a newer advertising bot than this last one now.
Gonna make a REAL Stand Alone. Notice some bugs in the Ripped one sorry for that.
/NightLitch
Hi I've jus started using this script on recommendation but I'm gettin this error:
Syntax error: bad argument #1 to `gsub' (string expected, got nil)
stack traceback:
1: function `gsub' [C]
2: function `DataArrival' at line 100 [file `D:\[PHH]\scripts\Adver-Shield.lua']
Also I'm using version:
--====[ Advertising Shield ]====--
-- Version: 11
-- By: NightLitch
-- Date: 5/25/2004
Is this the latest version?
Thanx in advance,
Quik.
lol any1?? ;(
adver shield is too careful, it considers Snip as a changed no-ip (lol). It should not be, most advertisers are 2 idiots to do this lol
I would like it to check nick, e-mail and connection type too. Everyware that ad can be posted :D