Can u make like this that only registered users can download from op's ? ???
For instance, this (http://forum.ptokax.org/index.php?topic=3830#msg40804) could easily be modded to suit your needs.
I know this script , but it would be very nice that anybody create a script that blocks unregistered users to download from OP's only :-\
Try this one
Modified (one function line) from this one: http://forum.ptokax.org/index.php?topic=5750.0 (http://forum.ptokax.org/index.php?topic=5750.0)
-- XferBot 1.0 LUA 5
--
-- by Mutor 12/03/05
--
-- Requested by Pablo.zz
--
-- Blocks file transfers from registered users to unregistered users.
-- Allows transfer between unregistered users
--
-- botname pulled from the hub or "Custom" name"
BlockBotName = "[XferBot]" --frmHub:GetHubBotName(),
--
--End User Settings-------------------------------------------------------------
Main = function()
if BlockBotName ~= frmHub:GetHubBotName() then
frmHub:RegBot(BlockBotName, 1, "Transfer Filter", "")
end
end
CheckArrival = function(user, data)
if user.iProfile == -1 then
local other = ""
local s,e,activeother = string.find(data,"$ConnectToMe%s+(%S+)")
local s,e,passiveother = string.find(data,"^$RevConnectToMe%s+%S+%s+(%S+)|$")
if activeother then
other = GetItemByName(activeother)
elseif passiveother then
other = GetItemByName(passiveother)
end
if other ~= "" or other ~= nil then
if other.bOperator then
local reply = "\r\n\r\n\tSorry "..user.sName..",\r\n"..
"\tUnregistered users may not dowload files from operators.\r\n"..
"\tYou may only download from non-operator users.\r\n"..
"\tPlease clear this transfer from your download queue.\r\n"..
"\tOtherwise you will continue to receive this message\r\n\r\n"
user:SendData(BlockBotName, reply)
user:SendPM(BlockBotName, reply)
return 1
end
end
end
end
ConnectToMeArrival = CheckArrival
RevConnectToMeArrival = CheckArrival
MultiConnectToMeArrival = CheckArrival
Thx 8)