A simple share checking script I made -----------------------------------------------------------
-- Simple Share Bot v.1.0
-- Made by: blackwings
--------------------------------------------------------------
-- START OF CONFIGURATION ------------------------------------
--------------------------------------------------------------
Bot = "#Share-Checker"
-- ["Profile"] = {minShare},
tlShare = {
[0] = {0},
[1] = {0},
[2] = {50},
[3] = {12},
[-1] = {5},
}
-- Choose what unit the share check should be on at line 31
-- if you change the unit, remeber the change it in the message on line 34
--------------------------------------------------------------
-- END OF CONFIGURATION --------------------------------------
--------------------------------------------------------------
KB = 1024
MB = 1048576
GB = 1073741824
TB = 1099511627776
function MyINFOArrival(user,data)
if tlShare[user.iProfile] then
local minShare = tlShare[user.iProfile][1]*GB
local minNr = tlShare[user.iProfile][1]
if user.iShareSize < minShare then
user:SendData(Bot, "Minimum share is "..minNr.." GB!!")
user:Disconnect()
end
end
end
Hi guys,
It is possible to do into this script different share for Active users and different for passive users?
Thank you in advance for reply!