Help modifying Illegallist (again :)
 

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

Help modifying Illegallist (again :)

Started by MrZ, 14 March, 2004, 16:23:11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MrZ

Hia :))

This is a popular bot to mod. I would like it to send the reason even if they have the settings : "Ignore messages from users that are not online (effective against bots)" ON in the client.

And it would be nice if it could tell the path to the file/files too.

tnx :))

-- Simple Illegalist v0.1 
-- Created by Ptaczek, Jan-3, 2003 
-- Searches for specified patterns. Useful for illegal share checking 
-- Modificed by Leo 
-- Modifications by Phatty


addy = "Wurlitzer.no-ip.com:4411"

BotName = "Illegalist" 

Files = { 
- ["preteen"]="No pre-teen here!", 
- ["fuck"]="For sharing the word fuck in filenames or folders ! Remove or rename all those words and you're welcome back...",
- ["nigger"]="For sharing word like nigger in filenames or folders ! Remove or rename all those words and you're welcome back...",
- ["motherfucker"]="For sharing motherfuck word in filenames or folders ! Remove or rename all those words and you're welcome back...", 
- [".shn"]="For sharing shn files ! Unshare all your .shn files and you're welcome.Inly .mp3 files allowed.",
- [".dll"]="For sharing dll files ! Unshare all your .dll files and you're welcome. Only .mp3 files allowed.",
- [".exe"]="For sharing exe files ! Unshare all your .exe files and you're welcome. Only .mp3 files allowed.",
} 

Kicked = {} 

function Main()
-- frmHub:RegBot(BotName)
-- frmHub:UnregBot"{InfoBot}"
end

function NewUserConnected(user) 
frmHub:EnableSearchData(1) 
if( Kicked[user.sName] == 1 ) then 
Kicked[user.sName] = nil 
end 
for i,v in Files do 
user:SendData("$Search Hub:"..BotName.." F?F?0?1?"..i) 
end 
end 

function DataArrival(user, data) 
if( strsub(data, 1, 3) == "$SR" ) then 
_,_,nick = strfind( data, "\05(%S*)|$" ) 
if( nick == BotName and Kicked[user.sName] == nil ) then 
Kicked[user.sName] = 1 
Reason = FindWhat(data) 
SendPmToOps(BotName, "*** User "..user.sName.." redirected. Reason: "..Reason) 
user:SendData("$ForceMove "..addy)
end 
end 
end 

function FindWhat(data) 
for i,v in Files do 
if( strfind(strlower(data), i) ) then 
return v 
end 
end 
return "Other files, Only .mp3 files allowed, unshare all others and you're welcome." 
end

Z ya (i hope, hehe)
Always remember that you are unique... just like everyone else :-D

MrZ

Always remember that you are unique... just like everyone else :-D

MrZ

Heyy, do i smell so bad ?? hehe or is it just booring doing this ?

must be something as i dont think it is to advanced for u here........
Always remember that you are unique... just like everyone else :-D

SMF spam blocked by CleanTalk