here we go..
-- Based on FilesControlBot by aMutex 02.01.2003
-- Conquerer by Phatty
-- v1.00
botname = "Conquerer"
conquer={}
trigs = {
lolita="[USER] shares/is looking for lolita porn",
preteen="[USER] shares/is looking for preteen porn",
incest="[USER] shares/is looking for incest porn",
animalsex="[USER] shares/is looking for sex with animals,hmm lost for words",
download10="[USER] shares/is looking for kazaa files"
}
function DataArrival(user, data)
if ((strlower(strsub(data,1,3))=="$sr")or(strlower(strsub(data,1,7))=="$search")) then
for key, value in trigs do
if( strfind( strlower(data), key) ) then
answer, x = gsub(value, "%b[]", user.sName)
SendToOps( botname, answer )
end
if conquer[user.sName]==nil then conquer[user.sName]=1
user:SendPM(botname,"Use a bad searh again and your gone")
return 1
elseif conquer[user.sName]==1 then conquer[user.sName]=nil
user:SendPM(botname,"Ok num nuts youve been conquered")
SendToOps(botname,"I ahve conquered: "..user.sName)
user:Ban()
return 1
end
end
end
end
l8rr,,
-phatty
As a op in several hubs and also as a user in some hubs
i kind of have a doubt about these kind of scripts.
I search for such files several times a day and if a hub i was not op in had such a script, i would be in trouble ;)
Maybe its possible to add a code that dident ban u if u had a op tag?
It looks nice though, no offense about the script.
Roy
Hmm... I Like Roy's point as well.. but wat if another person from different hub is an op and stays in a hub as a normal user and he won't get kicked for searching ??
It can be only done with a unique ID, which means either IP or some kind of identification in each place to show taht u are an op...
I agree with you, i use a script based on aMutex FileCntrolBot, and got problems with kicking users on search actions.
The first trhing in mind was lowering taraffic on hub, bug i got to much "False positives".
I'm modifying it to advertise users not to search for such files (no kick), and kick users searching such files. This should meat my need: lowering traffic due to such searchs and keep users informed on policy of the hub.
No i completely agree with you, this was just a request so i put it here, just in case someone wanted to fiddle with it
I have [Search-Spy], it works fine, but I rewrote the bot to be more specific about searches. But it kicks/bans peeps in my hubstaff when they search for sickos to ban or kick them. But if u use incomplete words like tee for teen then it wont kick or ban you for searching for some kind off files. I have told my hubstaff to use unfinnish words, then it works fine. The bot is good to get rid off sickos btw, it`s nice to have a hub clean. Try [Search-Spy] u wont be disepointed, but remember to do some rewrites before you use it.
___________________________________________
Owner of MovieWorld movieworld.servegame.com:8246
NetFounder Movie Colletor Zone