Hello I request 2 script......
Script for login only client iDC++ with minim version [example 1.072]
and
script... where I choose version of login: example.. in my hub I want only DC++ version 301 401 and 668 only... this 3 version... I choose version of login
Is it possible made this 2 scripts? Thanks a lot
here is a script that only allows version 0.301, 0.401 and 0.668 of DC++ = --##Client checker that only allowes 3 versions of Original DC++
--##Made by blackwings
Bot="Client-Checker"
function Main()
frmHub:RegBot(Bot)
end
function DataArrival(User , data)
if strsub(data, 1, 7) == "$MyINFO" and not User.bOperator then
if strfind(data,"V:(0.%d+)") then
if strfind(data, "<++")
if (strfind(data, "V:0.301")) or (strfind(data, "V:0.401")) or (strfind(data, "V:0.668")) then
else
User:SendData(Bot,"Only version 0.301, 0.401 and 0.668 of Original DC++ is allowed.")
User:Disconnect()
end
end
end
end
end
Thanks a lot blackwings
Hello black.... I have TitMouse and....script have error in line 14... can you resolve it? thanks ^^
--##Client checker that only allowes 3 versions of Original DC++
--##Made by blackwings
--//Modded And Bug Fixed By Madman
Bot="Client-Checker"
function Main()
frmHub:RegBot(Bot)
end
function DataArrival(User , data)
if strsub(data, 1, 7) == "$MyINFO" and not User.bOperator then
if strfind(data,"V:(%d+)") then
if (strfind(data, "V:0.301")) or (strfind(data, "V:0.401")) or (strfind(data, "V:0.668")) then
else
User:SendData(Bot,"Only version 0.301, 0.401 and 0.668 of Original DC++ is allowed.")
User:Disconnect()
end
end
end
end
Fixed....
Also fixed so it dont check for <++
when it checked for that it let all dc clients in
now it dosent matter how the tag looks...
if they dont got 0.301, 0.401 or 0.688 in there tag they wont come in....
OK now work re-thanks madman
This script does the both things Marilyn asked for.
I haven't tested it and was pretty tired when I wrote it, so forgive me if the iDC doesn't work :) --##Client checker that only allowes 3 versions of Original DC++
--##Made by blackwings
--//Modded And Bug Fixed By Madman
--//Added iDC check by blackwings
Bot="Client-Checker"
version="1.072"
function Main()
frmHub:RegBot(Bot)
end
function DataArrival(User , data)
if strsub(data, 1, 7) == "$MyINFO" and not User.bOperator then
if (strfind(data,"V:(1.%d+)")>=version) then
if strfind(data," else
User:SendData(Bot,"Either you don't have iDC or you don't have iDC version 1.072 or higher.")
User:Disconnect()
end
elseif strfind(data,"V:(0.%d+)") then
if (strfind(data, "V:0.301")) or (strfind(data, "V:0.401")) or (strfind(data, "V:0.668")) then
else
User:SendData(Bot,"Only version 0.301, 0.401 and 0.668 of Original DC++ is allowed.")
User:Disconnect()
end
end
end
end
HIIHHIIH very very very good :p I'm betatester of iDC++.. only 3 betatester of the world and I'm 1 of this.. Thanks blackkkkkkkkkk (K) ahahahh LOL